Python Pickles, Chess From Scratch, Python Speed, and More

#452 – DECEMBER 22, 2020 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Python Software Foundation 2020 Fundraiser
“COVID-19 has changed all aspects of our lives and is reshaping our future. Nonprofits like the PSF are having to rebuild. With PyCon 2020 and 2021 happening virtually, the PSF is faced with potentially losing $1.2 million USD of expected revenue for those two years. This fundraiser is critically important and the money raised will help the PSF support the tools and initiatives that Pythonistas use everyday.”
PYTHON.ORG

Building My Own Chess Engine
Writing your own chess engine is a great way to explore computational complexity and combinatorial aspects of programming. Not to mention it’s pretty fun! Follow along with this reflection on how one coder created his own Chess engine from scratch.
ANDREW HEALEY

Spend Less Time Debugging, and More Time Building with Scout APM
Scout APM uses tracing logic that ties bottlenecks to source code to give you the performance insights you need in less than 4 minutes! Start your free 14-day trial today and Scout will donate $5 to the OSS of your choice when you deploy →
SCOUT APMsponsor

Serializing Objects With the Python pickle Module
Learn how you can use the Python pickle module to convert your objects into a stream of bytes that can be saved to a disk or sent over a network. You’ll also learn the security implications of using this process on objects from an untrusted source.
REAL PYTHON course

Is Python Really a Bottleneck?
Python is slow. From one perspective, that is. But what are the true bottlenecks in the data engineering/data processing space, and how does Python compare to other technologies when those factors are considered?
ANNA ANISIENIA

Use PyQt’s QThread to Prevent Freezing GUIs
In this step-by-step tutorial, you’ll learn how to prevent freezing GUIs by offloading long-running tasks to worker QThreads in PyQt.
REAL PYTHON

Python 3.10a3 Released
See what changes Python 3.10 will bring
PYTHON.ORG

New Steering Council Selected
TWITTER.COM/PYBLOGSAL


Python Jobs


How Strong Is Your Resume?sponsor
Get a free, confidential review from a resume expert →

Entry-Level Engineering Programme (London, UK)
TESSIAN

Senior Backend Engineer (London, UK)
TESSIAN

Backend Engineer (London, UK)
TESSIAN

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

More Python Jobs >>>


Articles & Tutorials


How Python Manages Memory and Creating Arrays With np.linspace
Have you wondered how Python manages memory? How are your variables stored in memory, and when do they get deleted? This week on the show, David Amos is here, and he has brought another batch of PyCoder’s Weekly articles and projects. Along with the Real Python article on Python memory management, we also talk about another article about creating even and non-even spaced arrays in Python with np.linspace.
REAL PYTHON podcast

Performing OPTICS Clustering With Python and Scikit-Learn
Clustering is a big part of unsupervised machine learning. Since no labels are available, data point must be grouped, or clustered, based on some similarity measure. OPTICS is a clustering algorithm, and in this article you’lol learn how to use it with the Scikit-Learn library.
CHRISTIAN VERSLOOT

Looking for the Best Arduino Compatible Kit for Your Next Python Project
Check out the Dr.Duino Explorer Edition, it has everything you need in one convenient kit. Bluetooth LE, OLED Display, Addressable LEDs, buttons, switches and so much more! It’s Arduino UNO & Nano compatible!
DR. DUINOsponsor

The pass Statement: How to Do Nothing in Python
In this tutorial, you’ll learn about the Python pass statement, which tells the interpreter to do nothing. Even though pass has no effect on program execution, it can be useful. You’ll see several use cases for pass as well as some alternative ways to do nothing in your code.
REAL PYTHON

Visualizing the Mandelbrot Set Using Python
The Mandelbrot set is fractal and infinitely self-similar. Fortunately, you can write a finite Python program to visualize it! Have some fun creating beautiful pictures with this tutorial.
BLAKE SANIE

Generating STL Models With Python
Learn how to use the numpy-stl library to create STL files that can be loaded into CAD software and used to create 3D printed shapes.
CARLO SUPINA

Django Session-Based Auth for Single Page Apps
Learn how to add session-based authentication to a Single-Page Application powered by Django and React.
NIK TOMAZIC • Shared by Michael Herman

Python-Sniffing Dogs in Florida Start Successfully Tracking Invasive Species
Watch out pythons! These dogs are on your trail.
ANN SCHMIDT


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 →

hiplot: HiPlot Makes Understanding High Dimensional Data Easy
GITHUB.COM/FACEBOOKRESEARCH

numpy-stl: Library for Working With STL Files and 3D Objects
GITHUB.COM/WOLPH

PsychRNN: Package for Training Recurrent Neural Network Models on Cognitive Tasks
GITHUB.COM/MURRAYLAB

PETAL: Tool for Deep Biological Pathway Analysis
GITHUB.COM/PEX2892

A Day in Code: Python, a Picture Book Written in Code by Shari Eskenas
KICKSTARTER.COM

questionary: Build Pretty Command Line User Prompts
GITHUB.COM/TMBO

📆🐍 Upcoming Python Events


⋅ Real Python Office Hours (Virtual) December 23, 2020

⋅ Python Pizza New Year’s Party (Virtual) December 31 to January 1, 2021

⋅ BelPy January 30 – 31, 2021

⋅ PyCascades 2021 (Virtual) February 19 – 21, 2021

⋅ PyCon 2021 (Virtual) May 12 – 18, 2021
Happy Pythoning!
Copyright © 2020 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

Bitwise Operators, mypy Exhaustiveness Checking, Job Scheduling, and More

Tuesday, December 15, 2020

Bitwise Operators in Python #451 – DECEMBER 15, 2020 VIEW IN BROWSER The PyCoder's Weekly Logo Bitwise Operators in Python In this tutorial, you'll learn how to use Python's bitwise

ORMs, Numerical Precision, PyQt and SQL, and More

Tuesday, December 8, 2020

Why Should You Use an ORM (Object Relational Mapper)? #450 – DECEMBER 8, 2020 VIEW IN BROWSER The PyCoder's Weekly Logo Why Should You Use an ORM (Object Relational Mapper)? Budding web developers

Unravelling Nots, PyQt Layouts, New Pip Dependency Resolver, and More

Friday, December 4, 2020

Unravelling `not` in Python #449 – DECEMBER 1, 2020 VIEW IN BROWSER The PyCoder's Weekly Logo Unravelling not in Python In the next blog post in his series about Python's syntactic sugar, Brett

Synthetic Data, Reproducible Conda Environment, Regular Expressions, and More

Tuesday, November 24, 2020

Synthetic Data Vault (SDV): A Python Library for Dataset Modeling #448 – NOVEMBER 24, 2020 VIEW IN BROWSER The PyCoder's Weekly Logo Synthetic Data Vault (SDV): A Python Library for Dataset

Python on .NET, Malicious Packages, Quantum Computing, and More

Tuesday, November 17, 2020

PyPy: Faster Python With Minimal Effort #447 – NOVEMBER 17, 2020 VIEW IN BROWSER The PyCoder's Weekly Logo PyPy: Faster Python With Minimal Effort In this tutorial, you'll learn how you can use

You Might Also Like

Data Science Weekly - Issue 540

Friday, March 29, 2024

Curated news, articles and jobs related to Data Science, AI, & Machine Learning ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

This Week in Rust #540

Friday, March 29, 2024

Email isn't displaying correctly? Read this e-mail on the Web This Week in Rust issue 540 — 27 MAR 2024 Hello and welcome to another issue of This Week in Rust! Rust is a programming language

The Value Of A Promise 🤞

Friday, March 29, 2024

How much is a promise from a tech company really worth, anyway? Here's a version for your browser. Hunting for the end of the long tail • March 28, 2024 The Value Of A Promise When you hear a

New Elastic Security for SIEM Training Course

Friday, March 29, 2024

Detect and respond to evolving threats ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ elastic | Search. Observe. Protect Detect anomalies and malicious behavior March

SBF gets 25 years 

Thursday, March 28, 2024

Sam Bankman-Fried is sentenced View this email online in your browser By Christine Hall Thursday, March 28, 2024 Welcome back to TechCrunch PM! The editorial team spent a chunk of the day discussing

💎 Issue 410 - Being laid off in 2023-2024 as an early-career developer

Thursday, March 28, 2024

This week's Awesome Ruby Newsletter Read this email on the Web The Awesome Ruby Newsletter Issue » 410 Release Date Mar 28, 2024 Your weekly report of the most popular Ruby news, articles and

💻 Issue 403 - Microsoft defends .NET 9 features competing with open source ecosystem

Thursday, March 28, 2024

This week's Awesome .NET Weekly Read this email on the Web The Awesome .NET Weekly Issue » 403 Release Date Mar 28, 2024 Your weekly report of the most popular .NET news, articles and projects

💻 Issue 410 - Node.js TSC Confirms: No Intention to Remove npm from Distribution

Thursday, March 28, 2024

This week's Awesome Node.js Weekly Read this email on the Web The Awesome Node.js Weekly Issue » 410 Release Date Mar 28, 2024 Your weekly report of the most popular Node.js news, articles and

💻 Issue 410 - JSDoc as an alternative TypeScript syntax

Thursday, March 28, 2024

This week's Awesome JavaScript Weekly Read this email on the Web The Awesome JavaScript Weekly Issue » 410 Release Date Mar 28, 2024 Your weekly report of the most popular JavaScript news, articles

📱 Issue 404 - Dependency Injection for Modern Swift Applications Part II

Thursday, March 28, 2024

This week's Awesome iOS Weekly Read this email on the Web The Awesome iOS Weekly Issue » 404 Release Date Mar 28, 2024 Your weekly report of the most popular iOS news, articles and projects Popular