Python Higher Tutorial
An advanced tutorial on the Python programming language. Lots of theory and problems!
Functions
001
Local scope of variables in Python
002Global scope of variables in Python
003Interaction of Scopes in Python
004The nuances of working with scopes in Python
005Passing Variables by Value in Python
006Passing Variables by Reference in Python
007Passing Primitives as Function Parameters in Python
008Passing Objects as Parameters in Python
009Function as a variable in Python
010Callback functions in Python
011Passing Multiple Parameters to a Function in Python
012Combination of normal parameters and *args in Python
013Printing Named Parameters as a Dictionary in Python
014Combining Parameters in Python
015Printing Function Documentation in Python
016Lambda function in Python
017The map function for iterating objects in python
018The filter function for filtering objects in Python
019global statement in Python
020Function in function in Python
021The nonlocal statement in Python
022Nuances when working with an internal function in Python
023Closures in Python
024Recursion in Python
Inclusions
025
List Comprehensions in Python
026Operations on Elements in List Comprehension in Python
027Generation from a List in Python
028Conditions in List Comprehensions in Python
029Multiple Loops in List Comprehension in Python
030Multiple Loops with Condition in List Comprehension in Python
031Generating a Two-Dimensional List in Python
032Dictionary Generation with Dictionary Comprehension in Python
Regular expressions
033
Introduction to Regular Expressions in Python
034Character repetition operators in regular expressions
035Grouping Brackets in Python Regular Expressions
036Escaping Special Characters in Python Regular Expressions
037Curly Braces in Python Regular Expressions
038Greediness Limitation in Python Regular Expressions
039Character Groups in Python Regular Expressions
040Character Sets in Python Regular Expressions
041Inverting character sets in regular expressions
042Special characters inside square brackets in Python
043Character Groups Within Sets in Python Regular Expressions
044Exceptions within sets in Python regular expressions
045Hat symbol inside sets in Python regular expressions
046Hyphen inside sets in Python regular expressions
047Beginning and End of String in Python Regular Expressions
048Word Boundaries in Python Regular Expressions
049Multiline in Python Regular Expressions
050Team 'or either' in Python regular expressions
051The search method in Python regular expressions
052Position of the found item in Python's search method
053Pockets in Python's search method
054Pockets via group method in Python search method
055All pockets as a tuple in Python's search method
056Named pockets in Python's search method
057Pockets in Python Replacement String
058Un-escaping Python pocket number
059findall method in python regular expressions
060Pockets in Python's findall method
061The finditer method in Python regular expressions
062Pockets in Python's finditer method
063Named pockets in finditer method in Python
064The fullmatch method in Python regular expressions
065Pockets in Python's fullmatch method
066The match method in Python regular expressions
067Pockets in Python's match method
068The subn method in Python regular expressions
069The split method in Python regular expressions
070Non-preserving parentheses in Python regular expressions
071Positive and Negative Lookahead in Python Regular Expressions
072Flags for Python Regular Expression Strings
Exceptions
073
Introduction to Exceptions in Python
074Catching Exceptions in Python
075Basic Exception Types in Python
076Catching Different Types of Exceptions in Python
077The else block when catching exceptions in Python
078The finally block when catching exceptions in Python
079Throwing Custom Exception Types in Python
080Custom Exceptions in Conditions in Python
081Function with exception in Python
Modules
082
Introduction to Imports in Python
083Renaming a Module in Python
084Importing Part of a Module in Python
085Importing the Entire Contents of a File into Python
086The pip package installer in python
087Installing a library with pip in Python
088Checking for a library using pip in Python
089Updating a library version using pip in Python
090Removing a library with pip in Python
Virtual environment
SQl databases
097
Introduction to Databases in Python
098Working with databases via PhpMyAdmin
099Test table users
100Preparatory manipulations for working with SQL in Python
101Sending Database Queries in Python
102Print all records as a dictionary in Python
103Selecting records in a SQL query to a database in Python
104Logical Operations in SQL Query in Python
105Printing a Single Record in Python
106Selection fields in SQL query in Python
107Inserting Records via SQL Query in Python
108Inserting Records with Missing Columns via SQL Query in Python
109Updating Records via SQL Query in Python
110Deleting Records via SQL Query in Python
111Renaming a Field in Python
112Selecting Records by Specific Values in Python
113Limiting the Number of Records in SQL in Python
114Sorting records via SQL query in Python
115Fetching the minimum value in SQL in Python
116Fetching Max Value in SQL in Python
117Sum of field values in SQL in Python
118Counting Quantity via SQL Query in Python
119Grouping Result in Python
120Adding Strings When Selecting SQL in Python
Database organization
121