Optional Arguments, Fixing a Vulnerability, Code Reviews, and More

#515 โ€“ MARCH 8, 2022 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Optional Arguments and Moving Beyond “Beginner” Python
It’s episode 100 of the Real Python Podcast ๐ŸŽ‰ This week you’ll learn how to define Python functions that accept optional arguments or default values, and you’ll get tips for going beyond the beginner stage with Python.
REAL PYTHON podcast

How I Found (And Fixed) a Vulnerability in Python
“I decided to deepen my knowledge in this field and explore cache poisoning vulnerabilities in the open source domain. I focused my research on the most popular web frameworks, such as Flask, Bottle, and Tornado. Eventually, I found and fixed a vulnerability in Python.”
ADAM GOLDSCHMIDT

Data Elixir: Data Science Newsletter
Data Elixir is an email newsletter that keeps you on top of the latest tools and trends in Data Science. Covers machine learning, data visualization, analytics, and strategy. Curated weekly with top picks from around the web โ†’
DATA ELIXIRsponsor

Code Review Guidelines for Data Science Teams
Although written for Data Science teams, a good article on why any team of coders should do code reviews. How to do them, what to look for, and how to improve your code.
TIM HOPPER

PyCon US 2022 Schedule Published
PYCON.BLOGSPOT.COM

Django 4.0.3 Bug Fix Release
DJANGO SOFTWARE FOUNDATION


Discussions


Your Python 4 Dream List
“If there was to ever be Python 4 (not a minor version increment, but full fledged new Python), what would you like to see in it?”
REDDIT

How to Speed Up the agg of Pandas groupby Bins?
STACK OVERFLOW


Python Jobs


Senior Backend Software Engineer (USA)
CLAY

Advanced Python Engineer (Newport Beach, CA, USA)
RESEARCH AFFILIATES

Senior Full-Stack Web Developer (White Rock, BC, Canada)
MONETIZEMORE

Python Software Engineer (Anywhere)
FLASHPOINT

Mid/Senior Django Developer (Brooklyn, NY, USA)
TYPE/CODE

Sr Python Engineer (Anywhere)
FLASHPOINT

Senior Backend Engineer Django (UK, Europe)
DATAPANE

Backend Software Engineer (Asia Pacific Region)
CATALPA INTERNATIONAL

Full Stack Software Engineer Python (United States)
DEEP SENTINEL

Senior Software Engineer (Anywhere)
DROICE LABS

Python Trainer (Jakarta, Indonesia)
PHYSIKALISCH-TECHNISCHE BUNDESANSTALT

More Python Jobs >>>


Articles & Tutorials


Optimizing Memory Usage in Python Applications
“When it comes to performance optimization, people usually focus only on speed and CPU usage. Rarely is anyone concerned with memory consumption, well, until they run out of RAM. There are many reasons to try to limit memory usage, not just avoiding having your application crash because of out-of-memory errors.”
MARTIN HEINZ

A Gentle Introduction to Serialization for Python
Discover how to use two common Python serialization libraries: pickle and HDF5. This article talks about what can be serialized, how to do it, where you can use it, and how to choose between the two methods discussed.
JASON BROWNLEE

Considering a Career in Cyber Security
Start your path to a new career with the only cybersecurity bootcamp with a job guarantee! Get hands-on experience and learn practical skills with 1:1 support from a cybersecurity mentor and career coaches, all from the comfort of your home and at your own pace โ†’
SPRINGBOARDsponsor

Using Higher-Order Containers to Process DataFrames
StaticFrame is an alternative to Pandas that has immutable DataFrames. Learn all about its core containers: Bus, Batch, Quilt, and Yarn, all of which provide abstractions for multi-table datasets.
CHRISTOPHER ARIZA โ€ข Shared by Christopher Ariza

Manage Your To-Do Lists Using Python and Django
Use Django to build a to-do list manager app. This step-by-step tutorial will teach you how to use Django’s class-based views to build a powerful app while dramatically reducing your development time.
REAL PYTHON

How and Why I Use Pytest’s xfail
pytest has two different ways of marking a test so that it isn’t run. This article shows the difference between pytest.mark.skip and pytest.mark.xfail and why to use xfail.
PAUL GANSSLE

String Interning in Python
Python optimizes smaller strings. If you assign multiple variables with the same string value, all the variables will refer to the same string underneath. Learn how it works.
REDOWAN DELOWAR โ€ข Shared by Redowan Delowar

Find Your Next Tech Job Through Hired
Hired has 1000s of companies ranging from startups to Fortune 500s who are actively hiring developers, data scientists, mobile engineers, & more. It’s simple: create a profile with your skills for hiring managers to reach you directly. Sign up today!
HIREDsponsor

Python Environment Dependency & Workspace Management
How to install and switch between multiple versions of Python, manage dependencies & virtual environments, and how to reproduce and environment on another machine.
JAN GIACOMELLI

Generating a Word Cloud in Python
Word or text clouds are a common way for analysts to display textural, qualitative, or semantical data analysis. Learn how to build one in Python.
OLGA BEREZOVSKY โ€ข Shared by Olga Berezovsky


Projects & Code


Brought to you by Real Python for Teamssponsor
Online Python training created by a community of experts. Give your team the real-world Python skills they need to succeed โ†’

django-distill: Static Site Generator Based on Django
GITHUB.COM/MEEB

msgspec: Fast, Friendly JSON & MessagePack Library
JCRISTHARIF.COM โ€ข Shared by Jim Crist-Harif

curvipy: Package for Teaching Mathematical Functions, Curves and Linear Transformations
GITHUB.COM/DYLANNALEX

Linux SysOps Handbook
ABDULLAH BARRAK

robox: Simple Library for Exploring/Scraping the Web
GITHUB.COM/DANCLAUDIUPOP โ€ข Shared by Dan Claudiu Pop

debugpy: Debug Adapter Protocol for Python
GITHUB.COM/MICROSOFT

Happy Pythoning!
Copyright ยฉ 2022 PyCoder’s Weekly, All rights reserved.
You are receiving this email because you opted in on our website at pycoders.com
Our mailing address: DevCademy Media Inc. ยท #720-999 West Broadway, Vancouver BC V5Z 1K5, Canada

Unsubscribe | Update Email Address

Older messages

Assert, Downloading Concurrently, Troubleshooting, and More

Tuesday, March 1, 2022

Python's Assert: Debug and Test Your Code Like a Pro #514 – MARCH 1, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Python's Assert: Debug and Test Your Code Like a Pro Learn how to use

Faster Code, Multiple Constructors, Dockerizing Django, and More

Tuesday, February 22, 2022

How We Optimized Python API Server Code 100x #513 – FEBRUARY 22, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo How We Optimized Python API Server Code 100x Tricks we used to speed up calls to our

Unit Test Docs, Python zipfile, Django Runs Black, and More

Tuesday, February 15, 2022

Documentation Unit Tests #512 – FEBRUARY 15, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Documentation Unit Tests Interesting approach to keeping documentation and code in sync: introspecting

typing.Protocol, args and kwargs, CPython 3.11.0a5 Released, and More

Tuesday, February 8, 2022

Defining Python Functions With Optional Arguments #511 – FEBRUARY 8, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Defining Python Functions With Optional Arguments Learn about Python optional

Python JIT, Security Pitfalls, macOS Deprecates Python 2, Black Formatter Stable Release, and More

Tuesday, February 1, 2022

What Is a JIT and How Can Pyjion Speed Up Your Python? #510 – FEBRUARY 1, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo What Is a JIT and How Can Pyjion Speed Up Your Python? How can you can speed

You Might Also Like

🎮 Forget the PS5 Pro, I Still Love My PS4 — The Best Lock Screen Widgets for iPhone

Friday, May 3, 2024

Also: Smart Home Mistakes to Avoid, and More! How-To Geek Logo May 3, 2024 Did You Know Half of the world's geysers are located in Yellowstone National Park. 🔑 More Passkeys Happy Friday! You can

JSK Daily for May 3, 2024

Friday, May 3, 2024

JSK Daily for May 3, 2024 View this email in your browser A community curated daily e-mail of JavaScript news The Power of React's Virtual DOM: A Comprehensive Explanation Modern JavaScript

Musk raises $6B for AI startup

Friday, May 3, 2024

Also, is TikTok dodging Apple's commissions? View this email online in your browser By Haje Jan Kamps Friday, May 3, 2024 Welcome to Startups Weekly — Haje's weekly recap of everything you can

SWLW #597: Seek first to understand, The "Iterative Adjacent Possible", and more.

Friday, May 3, 2024

Weekly articles & videos about people, culture and leadership: everything you need to design the org that makes the product. A weekly newsletter by Oren Ellenbogen with the best content I found

iOS Dev Weekly - Issue 659

Friday, May 3, 2024

Is Swift 6 hitting one of the REAL hard problems? Not generics, not data race safety, but naming things! 😬 View on the Web Archives ISSUE 659 May 3rd 2024 Comment Naming things is one of the two hard

Daily Coding Problem: Problem #1430 [Easy]

Friday, May 3, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. You have a large array with most of the elements as zero. Use a more space-

Making sense of product management

Friday, May 3, 2024

​ Getting a sense of product sense Whenever I hear the term product sense, I think back to a Seinfeld episode about write-offs (with a little artistic license). Jerry: “You don't even know what

Charted | The Carbon Footprint of Major Travel Methods 🌐

Friday, May 3, 2024

Transport accounts for nearly one-quarter of global energy-related CO2 emissions. This chart shows the carbon footprint of travel methods. View Online | Subscribe Presented by: Morningstar Discover the

Apple's AI Strategy, At Your Service

Friday, May 3, 2024

The relative calm before the "AI, AI, AI, AI, AI" storm... Apple's AI Strategy, At Your Service By MG Siegler • 3 May 2024 View in browser View in browser At one point during Apple's

5 gadgets I never fly without

Friday, May 3, 2024

How to save on internet; BYO AI; Gemini features we need; Prime Day 2024 -- ZDNET ZDNET Tech Today - US May 3, 2024 placeholder I fly 10 times a year. These 5 tech gadgets are lifesavers From recording