Python Programming
Course Code - PE-111 Duration - 5 Days
Python is a powerful scripting language which is very popular for system administration and Web applications. It is a good programming environment for rapid software development. It has a large collection of APIs which simplify the writing of applications.
Who Should Attend?
This 5 day course is designed for those wishing to learn the Python programming language. The emphasis is on the Python language and the core APIs. The practical exercises constitute about 50% of the course time.
This course will be of benefit to developers and system administrators who need the powerful scripting capability of Python for system administration and Web applications.
Prerequisites
Some previous programming knowledge is assumed.
Course Content
Introduction to Python Programming
- Writing and running Python Programs
- Outputting to the screen
- Inputting from the keyboard
- Data types and int(), float() and str()
- Arithmetic operations
- Exercise
Program Structures
- Indentation
- Conditional statements
- Looping statements
- Exercise
Sequences
- Strings
- Lists
- Tuples
- Dictionaries
- Command line parameters
- Exercise
Functions
- What are functions
- Parameters and return values
- Predefined functions
- Recursion
- Exercise
Modules
- Modules
- Importing modules
- Unit testing modules
- Packages
- Exercise
Error Handling
- Exceptions
- Exception types
- try except
- try except else
- try finally
- Raising exceptions
- Exercise
File Handling
- Types of file
- File handling principles
- Opening files
- Reading files
- Writing files
- Exercise
String Manipulation
- String manipulation
- String manipulation functions
- Regular expressions
- Exercise
Database Access in Python
- MySQL
- Python database access principles
- Selecting data
- Inserting data
- Deleting data
- Exercise
CGI
- HTML
- CSS
- CGI
- Python CGI
- Exercise
« Back to last page
|