Course Overview
TOPThis is a three-day introductory level course to the Python programming language. This course provides students with the fundamental skills they need to construct non trivial Python programs concerning a wide array of subject matter domains.
Scheduled Classes
TOPWhat You'll Learn
TOPThe training includes hands-on labs in either Linux or Windows to increase the overall value of the instruction. The main topics are:
- Language components
- Control flow constructs
- IDLE environment
- Strings
- Classes
- Collections
- I/O
- Modules
- Regular expressions
Outline
TOP
Viewing outline for:
A Python Overview
- History of the Language and Different Python Versions
- Installation Process and Environment Variables
- Command Line Execution of Python
- IDLE Environment
- Python File Edits and Documentation
- Dynamic types
- Reserved Words
- Conventions for Naming
Basic Syntax
- Overview of Syntax
- Commentary
- String Values, Methods and Operators
- Format Method
- Numeric Data Types
- Functions for Conversion
- Simple Input and Output
- Percent Method
- Print Function
Components of the Language
- Requirements for Indenting
- if Statements
- Relational, Logical and Bit Wise Operators
- While and For Loops
- Break and Continue
Collections
- Lists
- Tuples
- Sets
- Dictionaries and Sorting Dictionaries
- Copying Collections
Functions
- Function Definition
- Parameters
- Documenting Functions
- Keyword and Optional Parameters
- Collection Passing to Functions
- Argument Variable Numbers
- Scope
- "First Class Citizens" Function
- Function Passing to Function
- Dictionary Mapping of Functions
- Lambda
- Inner Functions
- Closures
Modules
- Overview of Modules
- Standard Modules - sys, math, time
- dir Function
Exceptions
- Errors
- Run Time Errors
- Exception Model and Hierarchy
- Multiple Exceptions
- Raise
- Assert
- Crafting Exception Classes
Input, Output
- Data Streams and Creating Individual Streams
- Access Modes
- Writing and Reading Data to and from a File
- Supplementary File Methods
- Pipes as Data Streams
- Managing IO Exceptions
- Handling Directories
- Metadata
- Pickle Module
Python's Classes
- Classes in Python
- Object Orientation Principles
- Class Creation
- Instance Methods
- Organizing Files
- Distinct Methods
- Variables for Classes
- Inheritance
- Polymorphism
- Identifying Types
- Customized Exception Classes
Regular Expressions
- Simple Character Matches
- Special Characters
- Character Classes
- Quantifiers
- Dot Character
- Greedy Matches
- Grouping
- Beginning or End Matching
- Match Objects
- Substituting
- String Splits
- Regular Expressions Compilation
- Flags
Prerequisites
TOPBefore attending this course, students should have:
- At least minimal experience with or knowledge of one other programming language such as C, C++, Perl, Java, Ruby, VB or other equivalent languages
Who Should Attend
TOPProfessionals who benefit from Python programming skills or individuals looking to begin a programming career.