Toggle Themes
Toggle sub-themes
Python basics
Course Intro
- What's the use of Python?
- Python distributions.
- Install and setting up Python (on Windows, Mac, Linux).
- Write first Python script (using IDLE).
- Python IDEs and text editors.
- Write Python in VS Code
Installing Python Packages - the safe way (Pipenv)
- PIP - the Python Package Manager
- Python Virtual Environments with Pipenv
- pipenv - example: simple_plot with matplotlib
- pipenv with VS Code
Logical Expressions and Conditional Statements
- Boolean type.
- Logical operators.
- if:elif:else statements.
- Exercises
Loops in Python
- while/do loops.
- for loops.
- break, continue.
Basic data structures - Sequence Types
- Lists
- Tuples
- Range Objects
- Strings as sequence
More Data Types: Dictionaries and Sets
- Dictionaries
- Operations with Dictionaries
- Sets
- Set Operations
Functions
- What are Functions?
- Function Definition
- Function Call
- Function Parameters (positional, keywords)
- Arguments unpacking - the
**
operator
- Function Return Values
- Variables Scope
Exceptions: raising and handling
- What are Exceptions
- Exceptions Handling
- Handling different Exception Types
- Raising Exceptions
Basic OOP concepts in Python
- OOP - Main Concepts
- Classes and Objects in Python
- Attributes
- Class Constructor
- Magic (dunder) methods
- Encapsulation and Data Hiding
- Inspecting Classes and Objects.
Advanced Python
Advanced OOP topics in Python
- Inheritance
- Method overriding
- Operator overloading
Functional programming in Python
- decorators.
- lambda expressions.
- map/filter/reduce.
Reflection in Python
- dir(), type() and id() functions
- hasattr(), getattr() and setattr()
- isinstance() and issubclass() functions
- the
inspect
built-in module
Organizing code: more on importing modules
- Creating a custom Python modules
- Import module
- Module alias
- Import object from module
- Where
import
looks for a module?
- Python's built-in and third-party modules
- Packages in Python
- Import-related module attributes (__name__, __file__)
Notable Standard Library Modules
- sys - interface with Python Interpreter
- command line arguments
- other useful standard library modules
Date and Time support
- datetime.date
- datetime.time
- datetime.datetime
- datetime.timedelta
The Python process and OS services
- Execute external commands with Python
Using the file-system
- Directory Manipulations
- Files Manipulations
Unicode in Python
- Unicode Overview
- Python’s Unicode Support
- Encode-Decode Flow
- encode() and decode() functions
Debugging Python applications
- How to Debug A Python Code?
- Overview of VSCode Debugger
- Debug menu
- Setup/Launch configurations
- Basic debug Commands (Start/Stop; Continue/Pause; Step Over/Into/Out; )
- Set Breakpoints
- Watch Variables
Regular Expressions in Python
- Regular Expressions Overview
- Regexes in Python - the
re
module
Python usage
Data science basics
- The data science process
- Pyhton in DataScience: numpy, pandas,
- Demo with Jupiter Notebook
Parallel programming: multithreading and multiprocessing
- Shape the concepts: multithreading, multiprocessing
- Example using the built-in multiprocessing module
Async programming: asyncio
- Asynchronous vs Synchronous vs Parallel Execution
- Basics of Python asyncio library
- An async consumer-producer example
Web Programming with Python
- An overview of Django -The (Python) web framework for perfectionists with deadlines.
- A demo example of ToDo List app with Django
- Web Scraping with Python - Live Demo
Databases: SQLalchemy
- What is an ORM?
- SQLAlchemy - the Python ORM
- Connect, Declare a Mapping,Create a Schema
- Demo example with SQLAlchemy and SQLite3