20 Python libraries you can’t live without
A list of 20 essential Python libraries for developers, covering web, data science, GUI, and game development.
A list of 20 essential Python libraries for developers, covering web, data science, GUI, and game development.
An introduction to virtualenv, a tool for creating isolated Python environments to manage library dependencies for different projects.
A tutorial explaining how to handle exceptions in Python using try, except, and finally clauses with practical examples.
A guide showing how to check the installation path and version of Python on both Linux and Windows operating systems.
A guide to Python coding styles, linking to official documentation, PEP-8, Google's guide, and Khan Academy's style guide.
A step-by-step guide for installing Python 2.xx on Windows 7, including setting the PATH environment variable.
A guide to packaging Python scripts using setuptools for distribution on PyPI, including basic setup examples.
A practical guide to packaging and uploading a Python module to PyPI, covering modern tools and best practices.
Explains how to use Python's dictionary get() method to avoid KeyError exceptions by providing default values.
Explains the difference between the 'return' and 'global' keywords in Python functions, with code examples.
A tutorial on generating random strings in Python using the random and string modules, useful for creating passwords.
Explains the purpose and function of the __init__.py file in Python packages for organizing and importing modules.
Explains the Python 'with' statement for safe file handling, preventing corruption by automatically closing files even during exceptions.
A guide on using Python's built-in SimpleHTTPServer module to quickly share files over a local network.
A programming tutorial explaining a simple, one-line method for swapping the values of two variables in Python.
A programmer from Pakistan introduces his new personal blog focused on providing Python tips for beginners and intermediate learners.
Explains the difference between the 'params' and 'data' arguments in the Python Requests library for HTTP queries and request bodies.
Matplotlib 1.3 introduces a built-in plt.xkcd() function to easily create plots in the style of the popular XKCD webcomic.
Explains how to configure and use HTTP and HTTPS proxies with the Python Requests library, covering the API and internal implementation details.
A performance comparison revisiting Numba vs. Cython for optimizing a pairwise distance array computation, using updated libraries and benchmarks.