Tuesday, March 19, 2019

PyCoder’s Weekly: Issue #360 (March 19, 2019)

#360 – MARCH 19, 2019
View in Browser »

The PyCoder’s Weekly Logo


How to Build a Python GUI Application With wxPython

In this step-by-step tutorial, you’ll learn how to create a cross-platform graphical user interface (GUI) using Python and the wxPython toolkit. A graphical user interface is an application that has buttons, windows, and lots of other widgets that the user can use to interact with your application.
REAL PYTHON

Simplify Your Python Developer Environment

How three tools (pyenv, pipx, pipenv) make for smooth, isolated, reproducible Python developer and production environments.
MASON EGGER • Shared by Mason Egger

Automated Code Reviews for Python

alt

Take the hassle out of code reviews—Codacy flags errors so you can fix them quickly. Address security concerns, code duplication, code complexity and drops in coverage, directly from your workflow. Click here to get started →
CODACY sponsor

When C Extensions Crash: Easier Debugging for Your Tests

Learn how to prepare for crashes in advance, so when they do occur you can quickly figure out which part of the codebase caused them: The standard library’s faulthandler, verbose test runs, package listing, and catchsegv on Linux.
ITAMAR TURNER-TRAURING

Why Operators Are Useful

Latest blog post from Guido, related to the recent discussion about Python getting + and - operators for merging dictionaries (PEP 584).
GUIDO VAN ROSSUM • Shared by Ricky White

Python Decorators 101

See step-by-step what Python decorators are and how you can use them to make your own code more Pythonic and expressive.
REAL PYTHON video

Tuple Ordering and Deep Comparisons in Python

Nice deep dive on comparison operators in Python.
TREY HUNNER • Shared by Ricky White

urllib CRLF Injection Vulnerability

The current Python 2.x and 3.x implementation of urllib does not encode the \r\n sequence in the query string, which allows an attacker to manipulate a HTTP header with the \r\n sequence in it, so the attacker can insert arbitrary content to the new line of the HTTP header.
PYTHON.ORG

Give Me Back My Monolith

“It feels like we’re starting to pass the peak of the hype cycle of microservices.” Interesting counterpoint to the “everything should be broken down into microservices” hypetrain. Not Python-specific, but worth a read nonetheless.
CRAIG KERSTIENS opinion

Discussions

Guido Explains Why Python Uses 0-Based Indexing

Google Plus is shutting down soon, so here’s a final hurrah.
GOOGLE.COM

Python Jobs

Machine Learning and Data Science Developer (Austin, TX)

Protection Engineering Consultants LLC

Lead Python Developer (Toronto, Canada)

Kognitiv

Senior Systems Engineer (Hamilton, Canada)

Preteckt

Python Software Engineer (Berlin, Germany)

Wooga

Computer Science Teacher (Pasadena, CA)

ArtCenter College of Design

Senior Python Engineer (New York, NY)

15Five

More Python Jobs >>>

Articles & Tutorials

Understanding the Python Mock Object Library

In this tutorial, you’ll learn how to use the Python mock object library, unittest.mock, to create and use mock objects to improve your tests. Obstacles like complex logic and unpredictable dependencies make writing valuable tests difficult, but unittest.mock can help you overcome these obstacles.
REAL PYTHON

How I Translated a Mathematical Algorithm Into Code: TF-IDF to Python

Does your brain short-circuit when you see a mathematical algorithm? Don’t worry, you’re not alone. In this post you’ll see how the author worked her way through an algorithm, namely TF-IDF, and got it up and running in Python. Nice writeup!
SILKE HENDERICKX • Shared by Silke Henderickx

Take ActiveState’s ~7 Min Survey for a Chance to Win a Lego Star Wars TIE Fighter

alt

We want to know your pain points building & programming open source languages. We’ve got 3 cool prizes too. Click to speed through this ~7min survey →
ACTIVESTATE sponsor

10 Python Image Manipulation Tools

Nice overview of Python libraries that provide an easy and intuitive way to transform images and make sense of the underlying data.
PARUL PANDEY

Tips and Tricks to Write LaTeX Papers in With Figures Generated in Python

Some nice tips and example code for writing scientific papers in LaTeX, with figures generated in Python.
VINCENT ETTER

Make Python Delete Your Unwanted Emails Periodically

How to use the Gmail API to create a Python script which will automatically search & delete the messages matching your query.
UDIT VASHISHT • Shared by Udit Vashisht

Python’s except Quirk

I don’t know how Alex comes up with these, but that’s a fun one :)
ALEX BECKER

How to Distribute a wxPython Application

You finished up a wonderful GUI application using wxPython. How do you share it with the world? Read Mike’s article to find out.
MIKE DRISCOLL

How to Use Grouping Sets in Django

“How we cut a heavy admin dashboard response time in half with advanced SQL and some Django hackery.”
HAKI BENITA

Projects & Code

Events

Python Northwest

March 21, 2019
PYNW.ORG.UK

PyLadies Dublin

March 21, 2019
PYLADIES.COM

IndyPy Automate Conf 2019

March 22 to March 23, 2019
INDYPY.ORG

PyCon SK 2019

March 22 to March 25, 2019
PYCON.SK


Happy Pythoning!
This was PyCoder’s Weekly Issue #360.
View in Browser »

alt

[ 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 ]



from Planet Python
via read more

No comments:

Post a Comment

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...