Basic computer skills
Overview: Comprehensive Python Training Course
This comprehensive Python training course is meticulously designed to equip participants with a thorough understanding of Python programming, spanning foundational concepts to advanced techniques essential for proficient coding and software development.
Training Structure:
This training is divided into five intensive days, each focusing on distinct aspects of Python programming and software development:
- Day 1: Foundations and Code Maintenance
- Day 2: Operators and UML Motivation
- Day 3: Modules, Packages, and Object-Oriented Programming (OOP)
- Day 4: Error Handling, Testing, and File Operations
- Day 5: Testing, Debugging, Database Interaction, and Web Development
Methodology:
The course employs a balanced blend of theoretical learning and hands-on practical exercises. Through interactive sessions, real-world examples, and guided exercises, participants will reinforce their understanding of Python programming concepts and their application in diverse scenarios.
Who Should Attend:
This training is ideal for beginners and intermediate-level Python programmers, software developers, data scientists, and anyone aiming to enhance their Python proficiency and broaden their software development skill set.
Outcome:
Upon completion, participants will have gained comprehensive expertise in Python programming, equipped with the skills necessary to write efficient code, handle errors effectively, conduct robust testing, work with various data sources, and build dynamic web applications using Python.
Day 1: Introduction to Python Programming and Basic Principles for Code Maintenance
- Introduction to Python Programming
- Running Python code
- Using Python Development Tools (IDEs and command line tools)
- Working with Python and iPython shells as well as iPython Notebook
- Data Types and Operations
- Integers and floats
- Strings and bytes
- Tuples and lists
- Dictionaries and ordered dictionaries
- Sets and frozen sets
- Standards related to code formatting and documentation
- Practical examples
- Data structures in Python (set, dict) and their use
- Definition of functions, optional arguments for functions, functions as parameters
Day 2: Comparison Operators, Logical Operators, and UML Motivation
- Comparison operators in Python
- Logical operators in Python
- Concatenation of comparison operators with logical operators
- Lambda functions
- Motivation for using UML
Day 3: Modules, Packages, and Object-Oriented Programming (OOP)
- Creating modules and packages
- Distributing code to repositories
- General explanation of modules and packages
- Methods of use
- The minimal definition of a class
- Accessing the attributes and methods of a class
- Object Oriented and Functional Programming
- Creating and using functions and classes
- Modifying functions and classes with decorators
- Introducing meta-classes
Day 4: Error Handling, Testing, and File Handling
- Error handling and testing
- Handling and raising exceptions
- Writing and executing tests (doc tests and unit tests)
- Checking code coverage by tests
- Working with Files and Directories
- Accessing different types of files and file handling principles
- Creating, reading, updating, and deleting files
- Extracting data from text files using Regular Expressions
- Creating and deleting directories, listing and searching for files
Day 5: Testing, Debugging, Accessing Databases, and Conquering The Web
- Practical exercises for testing and debugging
- Retrieving web pages
- Parsing HTML and XML
- Filling web forms automatically
- Creating web applications in Python
- Accessing Databases
- Selecting, inserting, updating, and deleting data
- Generic database API based on SQLite 3, PostgreSQL, and MySQL
- Using the Object Relational Mapper (SQLAlchemy)
- Working with NoSQL databases