Course Overview
Course Content
- Get an overview of Python
- Learn about Interpreted Languages
- List the Advantages/Disadvantages of Python
- Explore Pydoc
- Start Python
- Discuss Interpreter PATH
- Use the Interpreter
- Run a Python Script
- Discuss Python Scripts on UNIX/Windows
- Explore Python Editors and IDEs
- Use Variables, Keywords, Built-in Functions, Strings, Different literals, Math operators and expressions, Writing to the screen, String formatting, Command line parameters and Flow Control.
- Hands-On
- Lists
- Tuples
- Indexing and Slicing
- Iterating through a sequence
- Functions for all sequences
- Using enumerate()
- Operators and keywords for sequences
- The xrange()function
- List comprehensions
- Generator expressions
- Dictionaries and sets.
- Working with files
- Modes of opening a file
- File attributes
- File methods
- Hands-On
- Functions
- Function Parameters
- Global variables
- Variable scope and Returning Values
- Sorting
- Alternate Keys
- Lambda Functions
- Sorting collections of collections
- Sorting dictionaries
- Sorting lists in place
- Errors and Exception Handling
- Handling multiple exceptions
- The standard exception hierarchy using Modules
- The Import statement
- Module search path
- Package installation waysModule Aliases and Regular Expressions
- Hands-On
- The sys Module
- Interpreter information
- STDIO
- Launching external programs
- Paths
- Directories and filenames
- Walking directory trees
- Math Function
- Random Numbers
- Dates and Times
- Zipped Archives
- Introduction to Python Classes
- Defining Classes
- Initializes
- Instance methods
- Properties
- Class methods and data
- Static methods
- Private methods and Inheritance
- Hands-On