Storing and Loading Data with JSON
Explains why to use JSON over Python's pickle for data serialization, covering security, readability, and cross-language compatibility.
Yasoob Khalid is a developer and writer best known for the free, open-source book Intermediate Python and his project-driven follow-up, Practical Python Projects. His articles and books have reached 5+ million readers across 189+ countries, and his blog remains a go-to place for clear, practical Python insights. By day, Yasoob works on Azure Cloud Networking at Microsoft, and by night he continues to publish tutorials, notes, and experiments that demystify real-world Python for learners at every level. He’s also the author behind the long-running Python Tips site and newsletter, where he focuses on approachable explanations and hands-on examples.
188 articles from this blog
Explains why to use JSON over Python's pickle for data serialization, covering security, readability, and cross-language compatibility.
An explanation of the 'self' variable in Python classes, covering its purpose and usage with examples.
A beginner's guide to Python socket programming, covering how to create sockets, connect to servers, and send data.
An explanation of *args and **kwargs in Python, showing how to handle variable numbers of arguments in function definitions and calls.
A tutorial on using Python to shorten URLs in bulk by leveraging the unofficial TinyURL API.
A list of 5 recommended Python screencasts covering topics like Django, lambda functions, and dunder methods for developers.
An introduction to Python's Pickle module for serializing and deserializing objects, including basic usage and examples.
A list of 10 Python project ideas to inspire developers, including libraries and tools for imaging, web, and automation.
A guide on packaging, distributing, and publishing Python libraries to the Python Package Index (PyPI).
A tutorial on using Python's sqlite3 library to create, connect to, and manage SQLite databases, including tables and data.
A blogger asks for feedback on two potential ebook topics about Python programming: a beginner's guide or a project-based tutorial.
A list of 10 recommended Python blogs for programmers, including Planet Python, effbot, and Mouse Vs Python.
A list of 20 essential Python libraries for developers, covering web, data science, GUI, and game development.
A guide on making Python code compatible with both Python 2 and 3 using try-except blocks for imports.
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.