Do you obsess about writing your code just the right way before you get started? Maybe you have some ugly code on your hands and you need to make it better. Either way, refactoring could be your ticket to happier days! On this episode, we'll talk through a powerful example of iteratively refactoring some code until we eventually turn our ugly duckling into a Pythonic beauty. <br/> <br/> Conor Hoekstra is our guest on this episode to talk us through refactoring some web scraping code.<br/> <br/> <strong>Links from the show</strong><br/> <br/> <div><b>The PyCon talk</b>: <a href="https://www.youtube.com/watch?v=W-lZttZhsUY" target="_blank" rel="noopener">youtube.com</a><br/> <b>Presentation source code</b>: <a href="https://ift.tt/39MeFbA" target="_blank" rel="noopener">github.com/codereport</a><br/> <b>Conor on Twitter</b>: <a href="https://twitter.com/code_report" target="_blank" rel="noopener">@code_report</a><br/> <b>Youtube channel</b>: <a href="https://www.youtube.com/codereport" target="_blank" rel="noopener">youtube.com/codereport</a><br/> <b>Perf example exceptions vs. test</b>: <a href="https://ift.tt/2Xg2NcH" target="_blank" rel="noopener">gist.github.com/mikeckennedy</a><br/> <b>PyCon Online</b>: <a href="https://ift.tt/34pDxTW" target="_blank" rel="noopener">us.pycon.org/2020/online</a><br/> <b>RAPIDS AI project</b>: <a href="https://rapids.ai/" target="_blank" rel="noopener">rapids.ai</a><br/> <b>Slides from presentation (with 9 refactoring steps)</b>: <a href="https://ift.tt/3hZSEJq" target="_blank" rel="noopener">github.com/codereport</a><br/> <b>Talk Python episode on Sourcery</b>: <a href="/266" target="_blank" rel="noopener">talkpython.fm/266</a><br/> <br/> <b>pip for venv only environment variable</b><br/> <b>PIP_REQUIRE_VIRTUALENV</b>: <a href="https://ift.tt/3alvIAJ" target="_blank" rel="noopener">docs.python-guide.org</a><br/></div><br/> <strong>Sponsors</strong><br/> <br/> <a href='https://ift.tt/2PVc9qH Python Training</a>
from Planet Python
via read more
Subscribe to:
Post Comments (Atom)
TestDriven.io: Working with Static and Media Files in Django
This article looks at how to work with static and media files in a Django project, locally and in production. from Planet Python via read...
-
Podcasts are a great way to immerse yourself in an industry, especially when it comes to data science. The field moves extremely quickly, an...
-
Dialogs are useful GUI components that allow you to communicate with the user (hence the name dialog ). They are commonly used for file Ope...
-
Have you ever wanted to use your python and web development skills to build cross platform desktop GUI apps? if yes then welcome to this tut...
No comments:
Post a Comment