Python
![Understanding Modules and Packages in Python](jpg/1692240230python-modules-packages.jpg)
Learn how to structure Python code by creating modules, defining functions and classes, creating packages, importing modules, and more.
![Data Preprocessing: Exploring the Keys to Data Preparation](jpg/1692062237data-preprocessing.jpg)
Learn what data preprocessing is, why it's important, and techniques for cleaning, transforming, integrating and reducing your data.
![Fetching Data from an HTTP API with Python](jpg/1690184012python-data-fetch-http-api.jpg)
In this tutorial, Stuart shows you how easy it is to use an HTTP API from Python using a couple of third-party modules.
![Quick Tip: Sending Email via Gmail with Python](jpg/1689926704sending-email-with-python.jpg)
In this quick tip, Stuart shows you how you can use Python to send emails via Gmail. This can be useful to send status reports, for example.
![Quick Tip: Controlling macOS with Python](jpg/1689047586python-control-macos.jpg)
Working on a Mac, we can control almost everything about the system using pyobjc, the Python-to-Objective-C bridge.
![Python String Methods, with Examples](jpg/1689284999pythong-string-methods.jpg)
Learn about the most useful Python string methods for manipulating string objects, with explanations, code examples, and even a challenge.
![Quick Tip: Controlling Windows with Python](jpg/1689047260python-control-windows.jpg)
Windows is entirely controllable from code, using the Win32 API. Stuart looks at ways to control the Windows OS with Python.
![Understanding URL Routing in Flask](jpg/1689041195flask-url-routing.jpg)
Learn about URL routing in Flask: defining routes, handling URL patterns, supporting HTTP methods, managing redirects and errors, and more.
![Working With CSV Files Using Python, with Examples](jpg/1687314796python-csv.jpg)
Learn how to use Python to read data from and write data to CSV files, and how to convert CSV files to JSON format and vice versa.
![A Deep Dive into Flask Templates](jpg/1686618414flask-templates.jpg)
This deep dive into Flask templates covers rendering, inheritance, layouts, variables, control structures, forms, filters, files, and more.
![Getting Started with Flask, a Python Microframework](jpg/1683777524python-flask-introduction.jpg)
Learn how to install and set up an app with Flask, a popular microframework for Python that offers an alternative to the much larger Django.
![Understanding Python Date and Time, with Examples](jpg/1681897627date-time-python.jpg)
Learn how to use date and time in Python, with real-life examples of working with date and time using the Python datetime and time modules.
![10 Best Sorting Algorithms Explained](jpg/1680865336sorting-algorithms.jpg)
Learn the basics of sorting algorithms in this handy guide for anyone interested in programming, data analysis, or computer science.
![Working with JSON Files in Python, with Examples](jpg/1679550214json-python.jpg)
Learn how to read, write and parse JSON in Python, with helpful examples, and explore popular modules in Python for working with JSON.
![A Guide to Python Exception Handling](jpg/1675837362python-expeption-handling.jpg)
Exception handling is important when building real-world apps. Learn how to use the try and except statements to handle exceptions in Python.
![Top 22 Python Books for Beginners and Advanced Coders](jpg/1674889396python-books.jpg)
All the books you need to get started with Python or improve your programming knowledge are included in this extensive list.
![Understanding File Handling in Python, with Examples](jpg/1673316470python-file-handling.jpg)
Learn about file handling in Python using with pathlib: how to navigate local files and directories, and open, read, write and close files.
![Object-oriented Programming in Python: An Introduction](jpg/1672886309oop-python.jpg)
Learn the basics of object-oriented programming in Python: inheritance, polymorphism, creating classes, attributes and methods, and more.
![Best IDEs and Code Editors for Python](jpg/1671626059python-ide-code-editor.jpg)
For developers, a good IDE is like a superpower. View the top Python IDEs and code editors as judged by the Python developer community.
![What Is Python and What Is It Used For?](jpg/1670896782what-is-python.jpg)
Python is a dynamic, object-oriented programming language that's used to build websites and software, automate tasks, and analyze data.
![Understanding Python Regex Functions, with Examples](jpg/1668653182python-regex.jpg)
Learn how to use Python regex functions and methods in your Python programs as we cover the nuances in handling Python regex objects.
![Best Programming Language for AI](jpg/1667801645best-programming-language-for-ai.jpg)
A certain skill set and an appropriate tech stack are required for AI software development. Learn about the best programming languages for artificial intelligence development right now.
![An Introduction to SQLite with Python](jpg/1666245460sqlite-with-python.jpg)
Learn what SQLite is, how some of its advanced features work, and how you can use it in Python projects with the help of the sqlite3 module.
![A Guide to Python Lambda Functions, with Examples](jpg/1665026349python-lambda-functions.jpg)
Learn how to recognize, write and use Python lambda functions — a handy option for one-liner functions, IIFEs, and functional programming.
![A Beginner’s Guide to HTTP Python Requests](jpg/1663666368python-requests.jpg)
Learn how HTTP web requests are structured, and how to make a Python request — with the help of the Python requests library.
![Why Learn Python?](jpg/1662434826why-learn-python5.jpg)
Wondering if you should learn Python? We look at 8 key reasons why Python is a great language to learn, and how you can easily get started.
![A Guide to Python Multiprocessing and Parallel Programming](jpg/1659506012python-multiprocessing.jpg)
Learn what Python multiprocessing is, its advantages, and how to improve the running time of Python programs by using parallel programming.
![Understanding Python Decorators, with Examples](jpg/1659325421python-decorators.jpg)
Learn what Python decorators are, what their syntax looks like, how to identify them in a script or framework, and how to apply them.
![An Introduction to Python Unit Testing with unittest and pytest](jpg/1658801531python-unit-testing.jpg)
Learn what software testing is, and how to run Python unit tests with unittest and pytest, two key frameworks for Python unit testing.
![Virtual Environments in Python Made Easy](png/1626939112python-environments.png)
The best and easiest way to set up a virtual environment for Python is with pip, virtualenv, and a simple bash script. Here’s how.