#397 – DECEMBER 3, 2019
View in Browser »
“Part of my reason is that in the end, SC duty feels more like a chore to me than fun, and one of the things I’m trying to accomplish in my life post Dropbox retirement is to have more fun. To me, fun includes programming in and contributing to Python, for example the PEG parser project.”
Learn what Python descriptors are and how they’re used in Python’s internals. You’ll learn about the descriptor protocol and how the lookup chain works when you access an attribute. You’ll also see a few practical examples where Python descriptors can come in handy.
PyCharm is the Python IDE for Professional Developers by JetBrains providing a complete set of tools for productive Python, Web and scientific development. Be more productive and save time while PyCharm takes care of the routine →
When you support the Python Software Foundation on Giving Tuesday you’l support organizations like the Cameroon Digital Skills Campaign. The global donatio drive runs for 24 hrs starting December 3.
After setting the
PIP_REQUIRE_VIRTUALENV environment variable, Pip will no longer let you accidentally install packages if you are not in a virtual environment.
How to test Python packages as they will be installed on your users’ systems to avoid subtle bugs.
A functional programming pattern you can use to parallelize the processing of nested loops.
Articles & Tutorials
“If you want to process a large amount data with Pandas, there are various techniques you can use to reduce memory usage without changing your data. But what if that isn’t enough? What if you still need to reduce memory usage? Another technique you can try is lossy compression: drop some of your data in a way that doesn’t impact your final results too much.”
In this tutorial, you’ll learn about the Pandas IO tools API and how you can use it to read and write files. You’ll use the Pandas read_csv() function to work with CSV files. You’ll also cover similar methods for efficiently working with Excel, CSV, JSON, HTML, SQL, pickle, and big data files.
Vettery is an online hiring marketplace that’s changing the way people hire and get hired. Ready for a bold career move? Make a free profile, name your salary, and connect with hiring managers from top employers today →
Get started working with Python, Boto3, and AWS S3. Learn how to create objects, upload them to S3, download their contents, and change their attributes directly from your script, all while avoiding common pitfalls.
“You can already walk across the trading floor and see people writing Python code…it will become much more common in the next three to four years.”
SARAH BUTCHER opinion
The bag-of-words (BOW) model is a representation that turns arbitrary text into fixed-length vectors by counting how many times each word appears.
As core developers on Django and Sass, OddBird provides integrated training and consulting for resilient web applications and infrastructure.
Projects & Code
A collection of Python scripts for drawing beautiful figures and animating interesting algorithms in mathematics.
GITHUB.COM/ERIK • Shared by Erik Price
This was PyCoder’s Weekly Issue #397.
View in Browser »
[ Subscribe to 🐍 PyCoder’s Weekly 💌 – Get the best Python news, articles, and tutorials delivered to your inbox once a week >> Click here to learn more ]