The use of return and global keywords
Explains the difference between the 'return' and 'global' keywords in Python functions, with code examples.
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.
Explains how to pass data between Javascript and Python in IPython/Jupyter notebooks using kernel.execute, though notes the method is now obsolete.
A blog post demonstrating how to create a puzzling shape animation using Python's matplotlib and IPython notebook.
A guide for Python developers on connecting to and using SAP SQL Anywhere databases, covering drivers, common issues, and recommendations.
Introduces httpcache, a Python Requests plugin for automatic HTTP caching, reducing bandwidth and latency with minimal setup.
CoVim is an open-source plugin for Vim that enables real-time, multi-user collaboration, turning the editor into a shared coding environment like Google Docs.
A tutorial on embedding matplotlib animations directly into IPython notebooks using HTML5 video encoding and custom display functions.
A developer details the technical process and reasoning behind migrating their static blog from Ruby-based Octopress to Python-based Pelican.
A technical guide on implementing a Persona Identity Provider, focusing on Python and addressing gaps in Mozilla's official documentation.
A deep dive into writing extremely concise Python code, using the creation of a Sudoku solver as an example to explore code golf techniques.