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

Mapped | The Top Health Insurance Companies by State 🏥

Tuesday, December 24, 2024

In 13 US states, a single company dominates the health insurance market, holding at least half of the total market share. View Online | Subscribe | Download Our App Presented by: Global X ETFs Power

The Stanford Grad Who Forgot How To Think

Tuesday, December 24, 2024

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, December 24, 2024? The

The next big HDMI leap is coming

Tuesday, December 24, 2024

Sora side hustles; Casio's tiny watch comes to the US -- ZDNET ZDNET Tech Today - US December 24, 2024 Ecovacs Deebot T30S Combo robot vacuum and mop The next big HDMI leap is coming next month -

⚙️ Robo-suits

Tuesday, December 24, 2024

Plus: The data center energy surge ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Apache Tomcat Vulnerability CVE-2024-56337 Exposes Servers to RCE Attacks

Tuesday, December 24, 2024

THN Daily Updates Newsletter cover The Data Science Handbook, 2nd Edition ($60.00 Value) FREE for a Limited Time Practical, accessible guide to becoming a data scientist, updated to include the latest

Edge 459: Quantization Plus Distillation

Tuesday, December 24, 2024

Some insights into quantized distillation ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Prepare for a Lifetime of Adventure with Rosetta Stone

Tuesday, December 24, 2024

The Perfect Gift For Every Traveler on Your List Rosetta Stone makes it easy to connect with the world in a whole new way. With a Lifetime Unlimited plan, users can access 25 languages to prepare for

Tuesday Triage #232

Tuesday, December 24, 2024

Your weekly crème de la crème of the Internet is here! The 232nd edition featuring fish traps, little Mussolinis, and volvelles. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Elastic Community Newsletter

Tuesday, December 24, 2024

Check out the latest from the Elastic Community ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ elastic | Search. Observe. Protect community-newsletter-header-img.png

Daily Coding Problem: Problem #1646 [Medium]

Monday, December 23, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. Write a function that rotates a list by k elements. For example, [1, 2, 3, 4,