Exception handling
A tutorial explaining how to handle exceptions in Python using try, except, and finally clauses with practical examples.
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.
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.
A tutorial on animating SVG path transitions using SMIL, comparing it to JavaScript libraries like RaphaëlJS for a Batman emblem project.
Author explains their decision to leave the W3C to focus on personal projects, open source work, writing a book, and standards development.
Discusses the shift away from CSS vendor prefixes as features become stable, and the need to treat experimental features carefully.
A guide to using simple share URLs for Twitter, Facebook, and other platforms instead of heavy social media plugins.
A guide on using CSS to maintain the aspect ratio of embedded iframes (like videos) in responsive web design.
Developer creates an open-source web app to calculate screen DPI/PPI, detailing the project's inspiration, features, and development process.
A review of the 2013 'beyond tellerrand' conference, highlighting talks on web sustainability, design, and development.