News

This post explains what a Python module is and how to use it to drastically extend the capabiltiies of your code. Plus: how to make your own!
Sending Things to a Printer in Python. When handling your own computer systems as part of your company's technology infrastructure, you may have to perform low-level programming tasks. This may ...
A superset of Python that compiles to C, Cython combines the ease of Python with the speed of native code. Here's a quick guide to making the most of Cython in your Python programs.
You can use Nuitka to compile Python programs to standalone executables, then redistribute them without the Python runtime.
But if you ever felt like it was a bit clunky or old-fashioned, you're not alone. Indeed, it turns out that for several years already, Python's standard library has come with the pathlib module, which ...
Second, when you import a module in Python, all code in that module will be executed. This can significantly slow things down if there are lots of submodules to import.
Python's if name equals main construct provides a standard entry point to run scripts and standalone apps. Python has become a popular programming language due largely to its highly readable syntax ...
Learn how to make a game in Python using the popular Pygame. You'll learn how to handle player inputs, draw graphics, and more.