#366 – APRIL 30, 2019
View in Browser »
PyCon is about to kick off! Whether you’re a first-timer or a seasoned attendee, this guide will help you get ready to have a great PyCon.
If you’re at PyCon this week come and meet yours truly, along with Michael Kennedy from the Talk Python podcast, Brian Okken from Test & Code, Miguel Grinberg, Chris Medina, PyBites, and the Real Python Team. Be sure to stop by and say hi 🙂
How can you excite a kid about computers? In this article the author shares his experience teaching his six year old son some programming using PyGame Zero.
Learn how to use OpenCV and machine learning to automatically detect Parkinson’s disease in hand-drawn images of spirals and waves.
An examination of a malicious piece of macOS software (adware) which leverages Python and various levels of obfuscation to hinder analysis.
Learn how to use Django and GeoDjango to build a location-based web application from scratch. You’ll be building a simple nearby shops application that lists the shops closest to a user’s location, powered by PostgreSQL and PostGIS.
REAL PYTHON video
repeatfunc(random, 10) would be a shortcut for
(random() for i in range(10))
“Lame Lame Lame, DO NOT USE THIS!!!”
More Python Jobs >>>
Articles & Tutorials
“Our first Annual Report shows you just a few ways the generous support from our partners and friends helps us support our mission”
Python has a built-in
ast module that lets you inspect, parse and edit Python code. This article shows a real-world example of how you can use this module to detect SQL injection vulnerabilities in Python code.
A sampling of how Python is used at Netflix: “We use Python through the full content lifecycle, from deciding which content to fund all the way to operating the CDN that serves the final video to 148 million members.”
Why Python packaging is hard: just because you both installed v1.2.3, doesn’t mean you installed the same thing…
ALEX BECKER • Shared by Alex Becker
Short & sweet article that covers some of the new features and improvements available in Python 3.7: data classes, async/await, and more.
Python interactive now comes with a built-in variable explorer, debugging is easier to configure, and improvements to the Python Language Server have been made.
Learn how to handle Python KeyError exceptions. They are often caused by a bad key lookup in a dictionary, but there are a few other situations when a KeyError can be raised as well.
Super short article to show you the basics of Mercurial, a distributed version control system written in Python.
A summary of the best Python libraries for the GraphQL query language.
Covers various ways to write a Python context manager that measures execution time.
pow(3, 89) slower than
3 ** 89? Quick article looking at the
dis module and when CPython’s constant folding kicks in.
PYTHONTIPS.COM • Shared by Jim Anderson
Projects & Code
Enhances dataclasses to perform basic type checking and makes the dataclass JSON serializable.
This free online tool can decompile Python bytecode (
.pyc) back into equivalent Python source code.
May 1 to May 10, 2019. See you there!
This was PyCoder’s Weekly Issue #366.
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 ]