Python
=====
—–
* Course Id : PROG-PYTH
* Duration : 32 Hours
Overview
—–
* Python is a general-purpose interactive, object-oriented, interpreted and high-level programming language
* Being open-source, its source code is available under the GNU General Public License (GPL)
* This training provides the learner a solid foundation in Python programming
Pre-Requisites
—–
* Basic computer skills
* Interest in learning Python programming
Training Objectives
—–
All participants learn to:
* Install and run the Python interpreter
* Create and execute Python programs
* Understand the concepts of file I/O
* Perform i/o from text files in Python
* Plot data using appropriate Python visualization libraries
Course Structure
—–
* We provide more focus on hands-on in our technical courses (typically 80% hands-on/20% theory)
* Students get the capability to apply the material they learn to real-world problems
Materials Provided
—–
* PDF of slides and hands-on exercises
* Access to instance with lab environment
Software Requirements
—–
Any of the following
* Any current internet browser
* vnc client
* rdp client
Hardware Requirements
—–
* Processor: 1.2 GHz
* RAM: 512 MB
* Disk space: 1 GB
* Network Connection with low latency (<250ms) to Internet
## Daywise Course Outline
—–
## Day 1
—–
* Unit 1 : Introducing Python
* Unit 2 : Input/output
* Unit 3 : Variables
## Day 2
—–
* Unit 4 : Flow Control Loops and decision making
* Unit 5 : Built-in Data-Types
* Unit 6 : Built-in Functions
## Day 3
—–
* Unit 7 : Error Handling
* Unit 8 : Basic Classes and instances
* Unit 9 : Classes and Objects
## Day 4
—–
* Unit 10 : Regular Expressions
* Unit 11 : Networking, DB and CGI
* Unit 12 : Parsing
* Unit 13 : Multithreading, Logging And Debugging
## Detailed Course Outline
—–
Unit 1 : Introducing Python
—–
* Introduction
* Why python?
* Installing Python and versions
* Interactive mode, creating and running programs
* Blocks, Indentation, lines and commenting
Unit 2 : Input/output
—–
* Printing
* Input strings and numbers
Unit 3 : Variables
—–
* Variable declaration and assignment
* Operators
* Expression and Code evaluation
* Error messages
Unit 4 : Flow Control Loops and decision making
—–
* While loop
* For loop
* if, else, elif
* exit, break
Unit 5 : Built in Data-Types
—–
* Strings and characters
* Lists
* Tuples
* Dictionaries
* Files
Unit 6 : Functions
—–
* Function declaration
* Basic function
* Pass by value
Unit 7 : Error Handling
—–
* Except
* Try Except
* Raise exceptions
Unit 8 : Basic Classes and instances
—–
* Defining a basic class
* Instance
* Class Data
* Properties
Unit 9 : Classes and Objects
—–
* Classes detailed
* Constructors
* Generators
* Iterators
* Decorators
Unit 10 : Regular Expressions
—–
* Defining regular expressions
* Compiling regular expressions
* Using regular expressions
* Match and find
* Examples
Unit 11 : Networking, DB and CGI
—–
* Networking, telnet and ssh
* Database connection
* Basic graphics
Unit 12 : Parsing
—–
* Special purpose parsers
* Writing a recursive descent parser by hand
* Parsing comma delimited lines
* Parsing functors
* Parsing names, phone numbers, etc
* XML parsing
Unit 13 : Multithreading, Logging And Debugging
—–
* Multithreading examples
* Enable Logging
* Debugging step-by-step
