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

Charted | The $124 Trillion Global Stock Market, Sorted by Region 📊

Thursday, February 27, 2025

In this graphic, we show the world's 48000 publicly-traded companies, collectively valued at $124 trillion. View Online | Subscribe | Download Our App Enjoying Visual Capitalist? You'll love

AI CAPTCHA Fails Are the Internet’s New Comedy Show!

Thursday, February 27, 2025

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, February 27, 2025? The

Say Goodbye to Type Erasure

Thursday, February 27, 2025

View in browser 🔖 Articles Practical Kotlin: When and How to Use inline reified, noinline, and crossinline Master Kotlin's inline reified functions to tackle type erasure and boost performance!

SRE Weekly Issue #464

Thursday, February 27, 2025

View on sreweekly.com A message from our sponsor, incident.io: For years, on-call has felt more like a burden than a solution. But modern teams are making a change. On Feb 26 at 1 PM EST, hear why—and

Hands On: New VS Code Insiders Build Creates Web Page from Image in Seconds, More

Thursday, February 27, 2025

Home | News | How To | Webcasts | Whitepapers | Advertise .NET Insight February 27, 2025 THIS ISSUE SPONSORED BY: ■ Visual Studio Live! Las Vegas: .NET Developer Training Conference ■ VSLive! 4-Day

Re: Tomorrow's Password Class: How to sign up!

Thursday, February 27, 2025

Hi there, Do you reuse passwords? Do you struggle to remember unique passwords across accounts? Have you tried setting up a password manager but found it to be a hassle? You might not realize how

Documenting Event-Driven Architecture with EventCatalog and David Boyne

Thursday, February 27, 2025

If you're wondering on how to document Event-Driven Architecture, or you don't know that you should, I have something for you. We discussed with David Boyne, why data governance practices and

wpmail.me issue#708

Thursday, February 27, 2025

wpMail.me wpmail.me issue#708 - The weekly WordPress newsletter. No spam, no nonsense. - February 27, 2025 Is this email not displaying correctly? View it in your browser. News & Articles Shaping

Hackers stole 1Password logins - here's how

Thursday, February 27, 2025

Amazon AI races ahead; Research agents; Smartwatch trade-in -- ZDNET ZDNET Tech Today - US February 27, 2025 thief stealing passwords Hackers stole this engineer's 1Password database. Could it

New Golang-Based Backdoor Uses Telegram Bot API for Evasive C2 Operations

Thursday, February 27, 2025

THN Daily Updates Newsletter cover ⚡ LIVE WEBINAR ➟ Building Resilient Identity: Reducing Security Debt in 2025 Attacks Evolve, So Can Your Defenses--Learn How to Mitigate Risk and Optimize Identity