Introduction to Python Programming For Beginners
PYT100 – 3 Day Course
In this three day Introduction to Python Programming Training course students get a hands-on learning experience. It is truly a Python training course for beginners.
Public Online Introduction To Python Programming Course Schedule
Introduction to Python – PYT100 – 3 Days Request a Class Date
Individuals start with the Python programming basics of writing and running Python scripts and then move on to more advanced Python programming features such as file operations, regular expressions, working with binary data, and using the extensive functionality of Python modules.
- Instructor
- Julie Johnson
Individuals start with the Python programming basics of writing and running Python scripts and then move on to learning more advanced Python programming features such as file operations, regular expressions, working with binary data, and using the extensive functionality of Python modules. In this Python Fundamentals course emphasis is placed on features unique to Python, such as tuples, array slices, and output formatting.
In this hands-on Introduction to Python programming class, the concepts presented are then reinforced by practice during the lecture and then followed by graduated lab exercises. This Python Programming Fundamentals course is a practical introduction to a working programming language, not an academic overview of syntax and grammar. After completing this course students will immediately be able to use Python to complete tasks in the real world.We offer instructor-led public online Python fundamentals training and public instructor-led classroom style training. We offer onsite private Python training course delivery too.
If you are looking for more advanced Python topics, please take a look at our more Advanced Python class (PYT200). This Introduction to Python The Fundamentals and Essentials of Python training class features many of code examples, instructor demonstrations, participant code walk-throughs, and participant-based exercises.
Course ID: PYT100 Duration: 3 days
Audience: Open to all those that are new to the Python programming language. Users who want to learn Python and use it for application development, system administration, or just to automate tasks in a simple, yet powerful way.
Introduction To Python Training Course Outline
Introduction to Python
- What is Python?
- Python History and Versions
- Documentation and Resources
- Python Implementations
- Getting Python
- Getting Eclipse
- Installing the PyDev Plugin
- Python(x,y) – Python for Scientific Computing
- Create a Test Spyder Project
- Hands-on Lab Exercises
The Python Environment
- Different Ways to Run Python
- IDLE
- The Python Shell (and IPython)
- Double-Clicking to Execute Python
- Running Python from Eclipse
- Introduction to Debugging on Eclipse
- Debugging – Stepping Through Code
- Passing Command Line Arguments
- Accessing Command Line Arguments
- Hands-on Lab Exercises
Python Data Types
- Identifiers
- Naming Convensions
- Keywords and Built-ins
- The Garbage Collector
- Strings
- Unicode Strings
- String Functions
- Formatting Strings
- Numbers
- Capturing Input and Handling Data Conversion
- Booleans
- Data Structures: Sequences, Sets, and Dictionaries
- Functions
- Files
- Classes
- Checking Data Types
- Hands-on Lab Exercises
Working with Data Structures
- Sequences
- Lists
- List Operations
- The range() and xrange() Functions
- Tuples
- Looping through Sequences
- Slicing Sequences
- Comparing Sequences
- Dictionaries
- Dictionary Operations
- Sets
- Complex Data Structures
- Deep vs. Shallow Copy
- Hands-on Lab Exercises
Working with Modules
- What is a Module?
- Importing Modules
- Understanding the PYTHONPATH
- __name__
- Packages
- Compiled Python Code
- Python Standard Modules
- dir() and help()
- Finding and Installing Modules
- Installing pip
- Installing and Upgrading Modules with Pip
- More pip Operations
- Hands-on Lab Exercises
Program Structure
- Statements
- Comments
- Joining Lines
- Indentation
- Operators
- Operator Precedence
- If Statements
- Evaluating Variables
- While Loops
- For Loops
- Tuple Assignment with For Loops
- Pass
- And, Or, and Not
- Hands-on Lab Exercises
Functions
- Introduction to Functions
- Function Parameters and Default Arguments
- Positional vs. Named Notation
- Passing by Value vs. Reference
- Unpacking Positional Arguments
- Unpacking Named Arguments
- Overloading Functions
- Returning Data from Functions
- Function Variable Scope
- Global, globals(), and locals()
- Documentation Strings in Functions
- Hands-on Lab Exercises
Exception Handling
- Exception Handling with try…except
- Else and Finally
- Exception Class Inheritance Hierarchy
- Handling Multiple Exceptions
- Explicit Exception Raising
- Re-raising Exceptions
- Custom Exception Classes
- Hands-on Lab Exercises
Built-in Functions and Modules
- Built-in Functions
- The Python Standard Library
- The sys Module
- The os Module
- The Logging Module
- Logging – Configuring the Output
- Log Record Attributes
- The datetime Module
- Time
- Time Formats
- The sched Module
- Hands-on Lab Exercises
Day 3
Working with Files
- Reading from Files
- Reading Lines from Files
- Reading JSON from Files
- Writing and Appending to Files
- Using ‘with’ to Manage Resources
- File Attributes
- Hands-on Lab Exercises
Python Classes
- Introduction to Object-Oriented Python
- Creating Your First Class
- Inheritance
- Multiple Inheritance and Method Resolution Order
- Accessing Attributes
- Superclass Methods
- Method Overloading
- Class Attributes
- Static and Class Methods
- Hands-on Lab Exercises
Unit Testing
- Introduction to Unit Testing
- The unittest Module
- Assertions
- Test Suites
- Hands-on Lab Exercises