Python 3

Python 3.13 Allows Disabling of the GIL + subinterpreters

Python 3.13 adds the ability to remove the Global Interpreter Lock (GIL) per PEP 703. Just this past week, a PR was merged in that allows the disabling of the GIL using a command line flag or an environment variable in free-threaded builds. Note that Python must be built using the Py_GIL_DISABLED flag for this […]

Python 3.13 Allows Disabling of the GIL + subinterpreters Read More »

Batch APIs reduce network round trips

Using Asyncio and Batch APIs for Remote Services

Introduction to Batch APIs In modern Python applications, it’s common to access remote API using REST or other web-based technologies. Batch APIs are capable of processing multiple requests with a single call. You can use batch APIs to reduce the number of network calls to the remote service. This is ideal when you have to

Using Asyncio and Batch APIs for Remote Services Read More »

Python 101 – Creating Multiple Processes

Most CPU manufacturers are creating multi-core CPUs now. Even cell phones come with multiple cores! Python threads can’t use those cores because of the Global Interpreter Lock. Starting in Python 2.6, the multiprocessing module was added which lets you take full advantage of all the cores on your machine. In this article, you will learn

Python 101 – Creating Multiple Processes Read More »

Python 101: Episode #24 – Debugging with pdb

Learn the basics of using Python’s built-in debugger, pdb. Note that this screencast was recorded before Python 3.6 and 3.7 so it does not cover some of the new enhancements in the debugger. You can read the chapter this screencast is based on here: http://python101.pythonlibrary.org/chapter24_debugging.html

Python 101: Episode #24 – Debugging with pdb Read More »

Python 101: Episode #21 – Using Threads

In this screencast, you will learn the basics of using Python’s threading module. If reading is more your thing, then check out the chapter this is based on over at http://python101.pythonlibrary.org/ or get the book at https://leanpub.com/python_101

Python 101: Episode #21 – Using Threads Read More »

Python 101: Episode #19 – The subprocess module

In this screencast, we will learn the basics of Python’s subprocess module. Feel free to read the book that this video is based on here: http://python101.pythonlibrary.org/ or purchase the book on Leanpub

Python 101: Episode #19 – The subprocess module Read More »

Python 101: Episode #18 – The sqlite Module

In this screencast, we will be learning about Python’s builtin sqlite module. This episode is based on chapter 18 of Python 101, which you can read here: http://python101.pythonlibrary.org/

Python 101: Episode #18 – The sqlite Module Read More »

Python 101: Episode #16 – The os Module

In this episode you will learn about Python’s os module. This episode is based on my book, Python 101, which you can get on Leanpub here https://leanpub.com/python_101 or read online at http://python101.pythonlibrary.org/

Python 101: Episode #16 – The os Module Read More »