Issue #356

Running Python Programs, CPython on x86 vs ARM, and More

Feb. 19, 2019

Running Python Programs, CPython on x86 vs ARM, and More
#356 – FEBRUARY 19, 2019 VIEW IN BROWSER
The PyCoder’s Weekly Logo
How to Run Your Python Scripts
This step-by-step tutorial guides you through a series of ways to run your Python scripts and programs, depending on your environment, platform, needs, and skills as a programmer.
REAL PYTHON

x86 vs ARM for Web Crawling in Python
Compares the performance of a Python web scraper running on x86 and ARM servers. Which one will be cheaper in $ per million pages scraped? Interesting writeup!
JAMES MAWSON

Use Your Python Skills to Practice Interviewing for the Job You Want (Practice for Free on Pramp)
Increase your chance of success: Practice your interview skills for data structures & algorithms, system design, data science, and behavioral interviews on Pramp, the world’s leading peer-to-peer mock interview platform. Pramp is 100% free. Schedule your first interview →
PRAMPsponsor

Aligning the First Line of a Triple-Quoted String in Python
Nice little formatting tip for triple-quoted strings.
WORDALIGNED.ORG

Python’s str.isdigit vs str.isnumeric
“If you ever wondered how a language that claims to have one obvious way to do it can have multiple seemingly identical methods… well, now you know!”
REUVEN LERNER

Creating a Custom User Model in Django
This post explains step-by-step how to create a custom User model in Django.
MICHAEL HERMAN

The Men Fighting Florida’s Python Epidemic
More proof that Python is taking over the world…
1843MAGAZINE.COM

How & Why Cities and Dates Are Selected for PyCon
“Selecting a city and dates for PyCon a is process that usually takes about 6 months and involves many layers.”
PYCON.BLOGSPOT.COM


Discussions


Containers Are 8 Bytes Smaller on Python 3.8
RAYMOND HETTINGER

Some Lessons From 16+ Years of Development
REDDIT

Python Coding Challenges You Had to Do During the Interviewing Process?
REDDIT

Just Noticed That the Code in “Ralph Breaks the Internet” Is in Python
REDDIT


Python Jobs


Brought to you by Indeed Primesponsor
Apply today to see what job opportunities are waiting for you!

Senior Systems Engineer (Hamilton, Canada)
PRETECKT

Python Web Developer (Remote)
PREMIERE DIGITAL SERVICES

Software Developer (Herndon, VA)
L2T LLC

Tech Lead / Senior Software Engineer (Seattle, WA)
INDEED.COM INCUBATOR

Python Software Engineer (London, UK)
POLE STAR SPACE APPLICATIONS LTD.

Senior Engineer Python (Winterthur, Switzerland)
DEEP IMPACT AG

Sr Enterprise Python Developer (Toronto, Canada)
KOGNITIV

Computer Science Teacher (Pasadena, CA)
ARTCENTER COLLEGE OF DESIGN

Senior Python Engineer (New York, NY)
15FIVE

Software Engineer (Herndon, VA)
CHARON TECHNOLOGIES

Web UI Developer (Herndon, VA)
CHARON TECHNOLOGIES

More Python Jobs >>>


Articles & Tutorials


Supercharge Your Classes With Python’s super()
In this step-by-step tutorial, you will learn how to leverage single and multiple inheritance in your object-oriented application to supercharge your classes with Python’s super() function.
REAL PYTHON

Deploying Python ML Models With Flask, Docker And Kubernetes
How to deploy Machine Learning (ML) models into production environments by exposing them as RESTful API microservices hosted from within Docker containers, that are in-turn deployed to a cloud environment.
ALEX IOANNIDES • Shared by Alex Ioannides

The Ultimate Guide to Data Science Interviews
Ready to learn more about data science interviews and find out everything you need to know to rock it in your next interview? Download Springboard’s 90-page Ultimate Guide to Data Science Interviews and go from a job hunt to accepting an offer.
SPRINGBOARDsponsor

Creating Python Functions Dynamically at Run-Time
PHILIP TRAUNER

Jump Out of the Jupyter Notebook With nbconvert
How to easily convert notebooks to Python scripts and sharable files with nbconvert.
JEFF HALE

Load Testing Python Web Applications
Short & sweet example of how to perform a basic load test of your Python web app using Locust.
PRAKHAR MISHRA

Test & Code #65: One Assert Per Test
Is it ok to have more than one assert statement in a test? In this episode Brian discusses where this recommendation came from, what the reasons for it are, and what potential downsides could be. Recommended listening if you write a lot of tests.
BRIAN OKKEN podcast

Monte Carlo Simulation With Python
How to use Python with Pandas and NumPy to build a Monte Carlo simulation to predict the range of potential values for a sales compensation budget. This approach is meant to be simple enough that it can be used for other problems you might encounter but also powerful enough to provide insights that a basic “gut-feel” model can not provide on its own.
CHRIS MOFFITT

Parsing Hidden HTML With Selenium Headless Mode & Heroku
How to scrape hidden (or JS-generated) HTML with Selenium.
PYBITES

Building a Better Profanity Detection Library With Scikit-Learn
Why the author found existing libraries uninspiring and how he went about building a better solution.
VICTOR ZHOU

How to Replicate Google Maps Distance Using Python and SQL
Finding the distance between two points based on Latitude and Longitude, using Python and SQL.
KANOKI.ORG


Projects & Code


clusterfuzz: Scalable Fuzzing Infrastructure
ClusterFuzz is a scalable fuzzing infrastructure which finds security and stability issues in software.
GITHUB.COM/GOOGLE

ludwig: Toolbox Built on Top of TensorFlow
A toolbox built on top of TensorFlow that allows to train and test deep learning models without the need to write code.
GITHUB.COM/UBER

Locust: Scalable Load Testing Framework Written in Python
LOCUST.IO

Vocab: Lightweight Online Dictionary CLI
GITHUB.COM/MCKINSEY666

heart: Plotting Hearts With Python
GITHUB.COM/SUSAM

📆🐍 Upcoming Python Events


⋅ PyCon Namibia 2019 February 19 to February 22, 2019

⋅ Python Northwest February 21, 2019

⋅ PyLadies Dublin February 21, 2019

⋅ PyCon APAC 2019 February 23 to February 25, 2019

⋅ PyCascades 2019 February 23 to February 25, 2019. See you there!
Happy Pythoning!
Copyright © 2019 PyCoder’s Weekly, All rights reserved.