PLAY PODCASTS
Class Constructors & Pythonic Image Processing
Episode 106

Class Constructors & Pythonic Image Processing

The Real Python Podcast · Real Python

April 15, 202258m 22s

Audio is streamed directly from the publisher (dts.podtrac.com) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.

Show Notes

<p>Do you know the difference between creating a class instance and initializing it? Would you like an interactive tour of the Python Pillow library? This week on the show, Christopher Trudeau is here, and he&rsquo;s brought another batch of PyCoder&rsquo;s Weekly articles and projects.</p> <p>We talk about the recent Real Python tutorial &ldquo;Image Processing With the Python Pillow Library.&rdquo; It walks you through manipulating, filtering, and creating images from scratch. </p> <p>Christopher shares an article about Python class constructors, exploring the two-step instance creation and initialization process.</p> <p>We also have a couple of discussions this week. The first is about contributing to open source projects. The second topic is about searching large codebases before adding features. </p> <p>We cover several other articles and projects from the Python community, including the counter-intuitive rise of Python in scientific computing, preparation for interview questions, a project for adding pointer hell to Python, and a fast and powerful graphical user interface tool kit for Python with minimal dependencies.</p> <div class="alert alert-primary" role="alert"> <p><strong>Spotlight:</strong> <a href="https://realpython.com/courses/python-vs-javascript-for-python-devs/">Python vs JavaScript for Python Developers</a></p> <p>Python and JavaScript are two of the most popular programming languages in the world. In this course, you&rsquo;ll take a deep dive into the JavaScript ecosystem by comparing Python vs JavaScript. You&rsquo;ll learn the jargon, language history, and best practices from a Python developer&rsquo;s perspective.</p> </div> <p>Topics:</p> <ul> <li>00:00:00 &ndash; Introduction</li> <li>00:02:18 &ndash; Image Processing With the Python Pillow Library</li> <li>00:11:10 &ndash; The Counter-Intuitive Rise of Python in Scientific computing</li> <li>00:17:15 &ndash; 20 Python Interview Questions</li> <li>00:25:48 &ndash; Sponsor: FusionAuth</li> <li>00:26:25 &ndash; Python Class Constructors: Control Your Object Instantiation</li> <li>00:31:17 &ndash; Do You Contribute to Open Source Projects?</li> <li>00:42:43 &ndash; Video Course Spotlight</li> <li>00:44:08 &ndash; How To Search Large Codebases Before Adding a Feature?</li> <li>00:49:34 &ndash; pointers.py: Bringing the Hell of Pointers to Python</li> <li>00:52:16 &ndash; DearPyGui: A fast and powerful Graphical User Interface Toolkit for Python</li> <li>00:57:11 &ndash; Thanks and goodbye</li> </ul> <p>Topic Links:</p> <ul> <li><a href="https://realpython.com/image-processing-with-the-python-pillow-library/">Image Processing With the Python Pillow Library</a> &ndash; Learn how to use the Python Pillow library to deal with images. Combine this with some NumPy to process images and create animations.</li> <li><a href="https://cerfacs.fr/coop/fortran-vs-python">The Counter-Intuitive Rise of Python in Scientific computing</a> &ndash; Explore why Python&rsquo;s ability to write code quickly and access more libraries can outperform heavily optimized compiled code.</li> <li><a href="https://towardsdatascience.com/20-python-interview-questions-to-challenge-your-knowledge-cddc842297c5">20 Python Interview Questions</a> &ndash; Practice up for that next interview. Questions about data structures, language concepts, and some common standard library functions.</li> <li><a href="https://realpython.com/python-class-constructor/">Python Class Constructors: Control Your Object Instantiation</a> &ndash; Learn how class constructors work in Python and explore the two steps of Python&rsquo;s instantiation process: instance creation and instance initialization.</li> </ul> <p>Discussion:</p> <ul> <li><a href="https://news.ycombinator.com/item?id=30765596">Do You Contribute to Open Source Projects?</a></li> <li><a href="https://news.ycombinator.com/item?id=30819579">How To Search Large Codebases Before Adding a Feature?</a></li> </ul> <p>Projects:</p> <ul> <li><a href="https://github.com/ZeroIntensity/pointers.py">pointers.py: Bringing the Hell of Pointers to Python</a></li> <li><a href="https://github.com/hoffstadt/DearPyGui">hoffstadt/DearPyGui: A fast and powerful Graphical User Interface Toolkit for Python with minimal dependencies</a></li> </ul> <p>Additional Links:</p> <ul> <li><a href="https://www.pearson.com/us/higher-education/program/Gonzalez-Digital-Image-Processing-4th-Edition/PGM241219.html">Gonzalez &amp; Woods, Digital Image Processing, 4th Edition | Pearson</a></li> <li><a href="https://driscollis.gumroad.com/l/pypillow">Pillow: Image Processing with Python</a></li> <li><a href="https://python-pillow.org/">Python Pillow</a></li> <li><a href="https://github.com/danielgatis/rembg">danielgatis/rembg: Rembg is a tool to remove images background.</a></li> <li><a href="https://www.analytixlabs.co.in/blog/python-interview-questions-for-data-science/">Top 50 Python Interview Questions for Data Science | AnalytixLabs</a></li> <li><a href="https://docs.python.org/3/faq/programming.html#how-do-i-write-a-function-with-output-parameters-call-by-reference">Programming FAQ — Python 3.10.4 documentation</a></li> <li><a href="https://realpython.com/podcasts/rpp/49/">Episode #49: The Challenges of Developing Into a Python Professional – The Real Python Podcast</a></li> <li><a href="https://pycoders.com/submissions">PyCoder’s Weekly | Submit a Link</a> </li> <li><a href="https://github.com/vinta/awesome-python">awesome-python: Awesome Python Libraries and Resources</a></li> <li><a href="https://dearpygui.readthedocs.io/en/latest/">Dear PyGui’s Documentation — Dear PyGui documentation</a></li> <li><a href="https://github.com/ocornut/imgui">ocornut/imgui: Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies</a></li> <li><a href="https://dearpygui.readthedocs.io/en/latest/extra/video-tutorials.html">Video Tutorials — Dear PyGui documentation</a></li> </ul> <p>Level up your Python skills with our expert-led courses:</p> <ul> <li><a href="https://realpython.com/courses/python-vs-javascript-for-python-devs/">Python vs JavaScript for Python Developers</a></li> <li><a href="https://realpython.com/courses/simplify-gui-dev-pysimplegui/">Simplify Python GUI Development With PySimpleGUI</a></li> <li><a href="https://realpython.com/courses/documenting-python-projects-sphinx-read-the-docs/">Documenting Python Projects With Sphinx and Read The Docs - Archived</a></li> </ul> <p><a rel="payment" href="https://realpython.com/join">Support the podcast &amp; join our community of Pythonistas</a></p>