Issue #531

Tic-Tac-Toe With Tkinter, 6 Steps After Django startproject, AsyncIO for Web Apps, and More

June 28, 2022

Tic-Tac-Toe With Tkinter, 6 Steps After Django startproject, AsyncIO for Web Apps, and More
#531 – JUNE 28, 2022 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Build a Tic-Tac-Toe Game With Python and Tkinter
In this step-by-step project, you’ll learn how to create a tic-tac-toe game using Python and the Tkinter GUI framework. Tkinter is cross-platform and is available in the Python standard library. Creating a game in Python is a great and fun way to learn something new and exciting!
REAL PYTHON

Six Things I Do Every Time I Start a Django Project
When you start a new Django project you have some housekeeping tasks and some decisions to make. This article talks about some of the key things you might want to do when starting a new project.
BRENTON CLEELAND

Get Started: Infrastructure as Code With Python on AWS [Workshop]
In this on-demand workshop, you will learn the fundamentals of Infrastructure as Code through a series of guided exercises. You will be introduced to Pulumi, an infrastructure as code platform, where you can use Python to provision modern cloud infrastructure →
PULUMIsponsor

Should You Use AsyncIO for Your Next Web Application?
Python’s AsyncIO web ecosystem continues to mature, but should you build your next production application with one of these shiny new frameworks such as FastAPI, Starlette, or Quart?
STEVEN PATE • Shared by Steven Pate

Four More Python Packages Found Stealing AWS Credentials
AX SHARMA

Stack Overflow Developer Survey 2022 Results Available
STACKOVERFLOW.CO

Django 4.1 Beta 1 Released
DJANGO SOFTWARE FOUNDATION

urllib3 Announces Bounty Program
URLLIB3.READTHEDOCS.IO

Open Source Security Foundation Funds PSF
OPENSSF.ORG


Discussions


Should I Learn Java or Python Next?
DARCY DECLUTE

What Tone to Use in Code Review Suggestions?
HACKER NEWS


Python Jobs


Senior Python Software Engineer
MYOME 📍 SAN FRANCISCO, CA, USA

Senior Full-Stack Web Developer
MONETIZEMORE 📍 ANYWHERE

Backend Software Developer
CANOPY 📍 DRAPER, UT, USA

Gameful Learning Developer
UNIVERSITY OF MICHIGAN 📍 ANN ARBOR, MI, USA

Python Technical Architect
BLENDERBOX 📍 USA

Software Engineer (Los Angeles or Dallas)
CAUSEWAY CAPITAL MANAGEMENT LLC 📍 LOS ANGELES, CA, USA

DevOps Engineer
UNIVERSITY OF MICHIGAN 📍 ANN ARBOR, MI, USA

Academic Innovation Developer
UNIVERSITY OF MICHIGAN 📍 ANN ARBOR, MI, USA

Software Development Lead
UNIVERSITY OF MICHIGAN 📍 ANN ARBOR, MI, USA

Principal Python Engineer (100% Remote)
NIRA 📍 SAN FRANCISCO, CA, USA

More Python Jobs >>>


Articles & Tutorials


How to Patch requests to Have a Default Timeout
Python’s requests provides the ability to timeout when fetching content, but it isn’t turned on by default. If you’ve got a large code base there is a chance you have a call that could hang forever. This article describes how to monkeypatch requests to provide default timeout capabilities.
ADAM JOHNSON

Python mmap: Doing File I/O With Memory Mapping
In this video course, you’ll learn how to use Python’s mmap module to improve your code’s performance when you’re working with files. You’ll get a quick overview of the different types of memory before diving into how and why memory mapping with mmap can make your file I/O operations faster.
REAL PYTHON course

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

The subprocess Module: Wrapping Programs With Python
In this tutorial, you’ll learn how to leverage other apps and programs that aren’t Python, wrapping them or launching them from your Python scripts using the subprocess module. You’ll learn about processes all the way up to interacting with a process as it executes.
REAL PYTHON

Don’t Let Dicts Spoil Your Code
The dict is the go-to data structure for Python programmers, but its loose relationship to the data can be problematic in large data streams. Learn more about why you might choose a different data structure and when.
ROMAN IMANKULOV

String translate and maketrans Methods
The str methods translate and maketrans are lesser used, but helpful. You can use translate to replace characters in a string using a translation map, and maketrans helps you to build those maps.
RODRIGO GIRÃO SERRÃO

3 Things to Know Before Building With PyScript
PyScript is a browser-embedded python environment built on top of Pyodide. Although it is a powerful tool, there are some things you need to be careful with. Read on to find out more.
BRADEN RIGGS

How Can You Emulate Do-While Loops in Python?
In this tutorial, you’ll learn how to emulate do-while loops in Python. The most common technique to do this is to create an infinite while loop with a conditional statement that controls the loop and jumps out of it using a break statement.
REAL PYTHON

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

6 Usage Patterns for the ThreadPoolExecutor in Python
The ThreadPoolExecutor gives a lot of power an flexibility for concurrent code. This article describes six different patterns that can be used when coding with this context manager.
JASON BROWNLEE

Python Lazy Imports With Cinder
Instagram has implemented a lazy import mechanism to improve application loading times. This article describes why they built it and how it helps.
GERMÁN MÉNDEZ BRAVO


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 →

packj: Detect Malicious/Risky Packages
GITHUB.COM/OSSILLATE-INC

editabletuple: Like namedtuple but Editable
GITHUB.COM/MARK-SUMMERFIELD • Shared by Mark Summerfield

bluelink: Control Your Hyundai Car via Python
GITHUB.COM/SYNCHRONIZING

py-webengine: Browser Testing Through PyQt
GITHUB.COM/NATHANTS

svg.py: Type-Safe Library to Generate SVG Files
GITHUB.COM/ORSINIUM-LABS

📆🐍 Upcoming Python Events


Weekly Real Python Office Hours Q&A (Virtual)
June 29, 2022

SPb Python Drinkup
June 30, 2022

PyDelhi User Group Meetup
July 2, 2022

Melbourne Python Users Group, Australia
July 4, 2022

STL Python
July 6, 2022
Happy Pythoning!
Copyright © 2022 PyCoder’s Weekly, All rights reserved.