Issue #374

Lambda Functions, Progress Bars, Python GUI Apps, and More

June 25, 2019

Lambda Functions, Progress Bars, Python GUI Apps, and More
#374 – JUNE 25, 2019 VIEW IN BROWSER
The PyCoder’s Weekly Logo
How to Use Python Lambda Functions
In this step-by-step tutorial, you’ll learn about Python lambda functions. You’ll see how they compare with regular functions and how you can use them in accordance with best practices.
REAL PYTHON

How to Easily Use a Progress Bar in Python
A survey of Python progress bar libraries like Progress, ProgressBar2, TQDM, Click, and Clint that allow you to add animated progress bars to your command-line apps.
CODINGDOSE.INFO • Shared by Franccesco Orozco

Take the Hassle Out of Code Reviews—Codacy Flags Errors So You Can Fix Them Quickly
Customize standards on coverage, duplication, complexity and style violations, and see results directly from your Git workflow. Use in the cloud or on private servers, free for open source projects & small teams →
CODACYsponsor

We Ported a Qt App From C++ to Python. Here’s What Happened
“Our experience at ICS with Python and PyQt is that large complex (typically desktop) applications can be developed with Python. Users can’t tell that it was implemented in Python and not C++. Performance is typically not an issue, and experienced Qt C++ developers can quickly make the transition to Python.”
ICS.COM

Let’s Build a Simple Interpreter With Python
Part 15 in Ruslan’s ongoing series about building an interpreter from scratch, with Python.
RUSLAN SPIVAK

ARIMA Model: Complete Guide to Time Series Forecasting in Python
In this post, you’ll build an optimal ARIMA model from scratch and extend it to Seasonal ARIMA (SARIMA) and SARIMAX models. You will also see how to build autoarima models in Python.
MACHINELEARNINGPLUS.COM

Introduction to Python for C/Java Programmers
A guide to Python written for an audience who is already familiar with languages such as C and Java.
GITHUB.COM/IVOAH

Generating Random Data in Python
In this course, you’ll cover several options for generating random data in Python, and then build up to a comparison of each in terms of its level of security, versatility, purpose, and speed.
REAL PYTHON video

Building Standalone Python Applications With PyOxidizer
“PyOxidizer’s marquee feature is that it can produce a single file executable containing a fully-featured Python interpreter, its extensions, standard library, and your application’s modules and resources.”
GREGORY SZORC


Discussions


Tips on How to Shorten the Run Time of a Large (> 1.5k Tests) Pytest Test Suite?
TWITTER.COM/NIKLASMM

What’s Your Favorite Syntactic Sugar in Python?
REDDIT

What Framework/Hosting Does Your Python Blog Run On?
TWITTER.COM/WILDVASA

Guido: I stole Python’s elif from the C Preprocessor
TWITTER.COM/GVANROSSUM


Python Jobs


Senior Backend Software Engineer (Remote)
CLOSE

Lead Python Software Developer (Toronto, Canada)
KOGNITIV

Data Engineer (Munich, Germany)
STYLIGHT GMBH

Senior Python Developer (Malta, Europe)
GAMING INNOVATION GROUP

More Python Jobs >>>


Articles & Tutorials


Python’s Mypy—Advanced Usage
“In my last article, I covered some basic uses for Mypy. Here, I want to expand upon those basics and show how Mypy really digs deeply into type definitions, allowing you to describe your code in a way that lets you be more confident of its stability.”
REUVEN LERNER

Basic Input, Output, and String Formatting in Python
In this step-by-step Python tutorial, you’ll learn how to take user input from the keyboard with the built-in function input(), how to display output to the console with the built-in function print(), and how to format string data with the string modulo operator.
REAL PYTHON

Build Python in Minutes With ActiveState
Tired of Conda-installing? Automatically build your Python runtime environment with the packages you need: Automatically resolve dependencies, install in a virtual environment with a single command. Supports Python 2.7 and 3.6 on Linux and Windows. Build Now (Free Account) →
ACTIVESTATEsponsor

Parsing Nested JSON Records in Python
“For analyzing complex JSON data in Python, there aren’t clear, general methods for extracting information […] This post provides a solution if one knows the path through the nested JSON to the desired information.”
BRETT MULLINS

From Python to Go to Rust: An Opinionated Journey
“Go is cool but doesn’t provide enough type safety for me. I would rather stick with Python and its ecosystem than risking re-writing stuff in Go if I don’t need concurrency.” Related discussion on Hacker News
ALLO-MEDIA.NET

Behind the Scenes at the Python Software Foundation
An interview about how the Python Software Foundation helps the language and community and how you can help them in their mission.
PYTHONPODCAST.COM podcast

Innovate Software at OSCON
Join us this July at the O’Reilly Open Source Software Conference (OSCON) to discover what’s shaping software development and dive into the key technologies needed to build resilient, useful, innovative software. Save 25% with code PYCODER
O'REILLYsponsor

Clojure & Python, Side by Side (2011)
“As an exercise, I translated Peter Norvig’s Sudoku solver from Python to Clojure.”
JUSTIN KRAMER

10 Hacks to Speed Up Your Data Analysis in Python
PARUL PANDEY


Projects & Code


pytest-plugins: A Grab-Bag of Nifty Pytest Plugins
GITHUB.COM/MANAHL

Chemics: Python Package for Chemical Reactor Engineering
CHEMICS.GITHUB.IO • Shared by Gavin Wiggins

Real-Time-Voice-Cloning: Clone a Voice in 5 Seconds to Generate Arbitrary Speech in Real-Time
GITHUB.COM/CORENTINJ

PySimpleGUI: Python GUI Toolkit
GITHUB.COM/PYSIMPLEGUI

HTTP3: Next Generation HTTP Client for Python 3
ENCODE.IO

clojure-py: An Implementation of Clojure in Pure (Dynamic) Python
GITHUB.COM/DREWR

inline-python: Inline Python Code Directly in Your Rust Code
GITHUB.COM/FUSION-ENGINEERING

📆🐍 Upcoming Python Events


⋅ Django Girls Abuja June 28 to June 30, 2019

⋅ PythOnRio Meetup June 29, 2019

⋅ PyDayNEA 2019 June 29 to June 30, 2019

⋅ PyDay Pereira June 29 to June 30, 2019

⋅ Melbourne Python Users Group July 1, 2019

⋅ PiterPy Breakfast July 3, 2019

⋅ Reunión Python Valencia July 4, 2019

⋅ Sydney Python User Group (SyPy) July 4, 2019

⋅ Dash Conference July 16–17 in NYC
Happy Pythoning!
Copyright © 2019 PyCoder’s Weekly, All rights reserved.