A compilation of all the Python Intermediate topics in Coderslegacy. Sequel to the Python Basics section, and prequal to the Python Advanced section.
Python Classes: A class is used to define the characteristics of an object (fields and properties) and the things it can do (methods). Broaden your concepts by entering the world of Object Oriented Programming.
Python Variable Scope: Understand the concept of Local and Global scopes in Python, and how they effect the access level of the variables. Variable scope is an important concept utilized heavily in Classes and Functions.
Python Advanced File Handling: File Handling is tricky business. Once you begin using File Handling on a larger scale in bigger applications you’ll come across many obstacles and complexities. This article will walk you through most of these problems, and teach you how to use File handling for more advanced purposes (Like saving and loading game files).
Python OS: A simple, but important built-in-library that deals with several commands related to the OS and system. Comes with several useful functions for walking through directories, changing files names, manipulating the current working directory and more.
Python Sys: A simple, but important built-in-library that deals with several commands related to the os and system. Has several useful functions that deal with learning more about your target PC.
Python Logging: Teaches you the concept of creating system logs to track your program activities and events that occur during execution. All these are saved to a single file, which we call, a “log” file. This file can be used for troubleshooting or debugging later on
Python numpy: Numpy is the core library for scientific computing in Python. Amongst other things, it provides with the ability to create multidimensional array objects and the tools to manipulate them further.
Python Regex: Python Regex, or “Regular Expression”, is a sequence of characters that define a search pattern. This search pattern is then used to perform operations on strings, such as “find” or “find and replace”. In short, Regex can be used to check if a string contains a specified string pattern.
Python MySQL: MySQL is a relational database management system. Where there are web applications, databases are bound to come up at some point, and that brings us to the Python MySQL library, which enables us to communicate between the Python code and a database.
Python Openpyxl: The library openpyxl deals with the powerful spreadsheet application, Microsoft Excel. The openpyxl module allows your Python programs to read and modify Excel spreadsheet files. openpyxl really shines when it comes to automating tasks for Microsoft Excel.
Python pyautogui: PyAutoGUI is a cross-platform GUI automation Python module for human beings. It is used to programmatically control the mouse and keyboard as a human might. Because of this, the Python pyautogui library proves very useful when it comes to automating tasks on your computer.
Python Webbrowser: The webbrowser module provides a high-level interface to allow displaying Web-based documents to users. This guide will go through how to use this module to display and manipulate web pages.
If you have any suggestions for our Python Intermediate section, feel free to mentioned so below in the comments. Any contributions for CodersLegacy are more than welcome.