Description

Python is an Interpreted, high level, object oriented programming language with dynamic semantics. Python’s high level built in data structures, combined with dynamic binding as well as dynamic typing, make it attractive for Rapid Application Development and for use as glue or scripting language to connect existing components together. Python’s easy, simple to learn syntax emphasizes readability and therefore reduces the cost of program manage and maintenance. Python supports packages and modules, which encourages program modularity and code reuse. The extensive standard library and python interpreter are available in source or binary form without charge for all major platforms, as well as can be freely distributed.

 

 

Radiant Teachlearning offers Python Scripting Training Program in Classroom and Virtual instructor Led/Online mode.

 

 

 

Duration: 3 day

 

 

Learning Objective

This is a hands-on training program, designed to help the developers to speed-up in Python, as quickly as possible. The participant’s in this training program will experience the following:

  • Architecture
  • Input and output
  • Controlflow
  • Error handling.
  • Function
  • Garbage collection
  • Object-oriented features.
  • Built-in data types: using them, and inheriting from them in classes you design.
  • List comprehensions, decorators, iterators, generators, with context managers.
  • Creating and using libraries and packages.
  • Python Packaging
  • XML Handling
  • Database Interaction

 

Lab requirements:

  • As the training is highly lab oriented, each participant Attending the training program must be provided with a Computer with the following software installed:
  • Windows or Linux with ActivePython 2.7.8 installed
  • Pycharm community edition (IDE)

Pre-requisite

The participants should have prior programming experience and should be familiar with basic programming constructs. Prior exprience to object-oriented programming would definitely add advantage.

 

 

Audience Profile

This training program  is designed for developers, system administrators, and test engineers, who wish to develop, automate, and test applications and systems with help of Python

Course Content

[Day 1]

 

1: Python Introduction

 

  • What’s Python?
  • Why do people use Python?
  • Some quotable quotes
  • A Python history lesson
  • Advocacy News
  • What’s Python good for?
  • What’s Python not good for?
  • The features list
  • Python portability
  • Summary

 

2. Using the Interpreter

 

  • Python’s Interactive Prompt
  • Scripting
  • Program Execution Model
  • Program Architecture: modules
  • How to run Python programs
  • The IDLE interface
  • Other python IDEs

 

3. Python Scripting

 

  • Python Scripts in Linux/Unix & Windows
  • Whitespace Significance
  • Line Termination
  • Comments in Python
  • Basic Output Generation
  • Simple User Input
  • Python Modules
  • Module Search Paths
  • Determining the System Search Path
  • input()
  • raw_input()

 

4. Working with Variables in Python

 

  • Python Variables
  • Naming Conventions & Rules
  • Types as Objects
  • Variable References & Garbage Collection
  • Sequence Types
  • Membership Statements
  • List Iteration
  • Sequence Assignments
  • Mutable vs Immutable Objects
  • Multi Target Assignments

 

5. Numeric Operations in Python

 

  • More About Python’s Numeric Types
  • Numeric Tools
  • The Decimal Module
  • Operator
  • Arithmetic
  • Logical
  • Relational
  • Bitwise
  • Special Operators
  • Operator Precedence

 

6. Python Compound Statements

 

  • Python Nesting Recap
  • Comparison Operations
  • The if Statement
  • The if Ternary Expression
  • The while Loop
  • The for Loop
  • Traversing Parallel Sets

 

7. Python String Types

 

  • Generating Strings in Python
  • Immutable
  • Common String Methods
  • Type Conversion in Python
  • Formatting String Output
  • Format Specifier
  • Variable Substitution
  • String Indexing
  • String Slicing
  • String Iteration

 

8. Python’s Tuples

 

  • Immutable
  • Common Tuples Methods
  • Tuples Operations
  • Tuples Indexing
  • Tuples Slicing
  • Tuples Iteration
  • Multi-Dimensional Tuples (Matrices)

 

9. Python’s Lists

 

  • Common List Methods
  • The range() Function
  • List Operations
  • String Indexing
  • String Slicing
  • String Iteration
  • Multi-Dimensional Lists (Matrices)

 

10. Python List Comprehension

 

  • Basic List Comprehensions
  • Compound List Comprehensions

 

[Day 2]

 

11. Python Dictionaries

 

  • Python Dictionaries
  • Assigning Values to Dictionaries
  • Dictionary Methods
  • Dictionaries vs Lists & Tuples
  • Dictionary Indexing
  • Dictionary Iteration

 

12. Classes and Objects

 

  • Introduction to OOP using python
  • Classes and class attributes
  • Instances and instance attributes
  • Binding and method invocation
  • Composition, Subclassing and Derivation
  • Inheritance
  • Built-in functions for classes, instances and other objects
  • An overview of built-in python classes and modules

 

13. Basic Input/Output with Files

 

  • Opening Files
  • Working with Files
  • Controlling Output Location

 

14. Handling Compound  Data Structure

 

  • Nested Structure
  • Parsing and Loading into Data Structure
  • Retrival of data from the Data Structure

 

15. Creating Python Functions

 

  • Function Basics
  • Defining Functions
  • Function Polymorphism
  • Argument Defaults
  • Lambdas
  • Local Variables
  • Understanding __builtin__
  • Preventing Variable Modifications
  • Argument Matching Methods
  • Keyword Argument Methods

 

[Day 3]

 

16. Regular expressions

  • Introduction to regexps
  • Special symbols and characters for RE
  • Metacharacters and Metasymbols
  • Character classes
  • Quantifiers and Positions
  • Searching/Matching a string/pattern
  • Search and replace operations
  • Splitting and joining strings
  • Practical examples

 

17. Modules & Packages

 

  • Module Basics
  • Packages
  • Using __all__ and _ Variables
  • Using __name__
  • Using third party modules

 

18. Exceptions

 

  • About Exceptions
  • Python’s Default Exception Handler
  • Using Try/Except/Else/Finally Exceptions
  • Generating User Defined Exceptions
  • More on Exceptions
  • Exception Examples
  • Using Asserts
  • Exception Classes

 

19. Standard Python modules

  • Using the sys module
  • argv, sys.path, sys.version
  • An overview on __builtin__ and __future__ modules
  • Using the os module
  • Filesystem/directory functions
  • Basic process management functions
  • Using the os.path module
  • Determining basename, dirname, path manipulation
  • File type/size/timestamp and other stat determination
  • Using the time and datetime modules

 

  • Hands On
  • Parsing command line arguments using sys.argv
  • Command-line switches parsing using optparse module
  • Listing directory contents using os.listdir
  • File test operations using os.path module
  • Finding files using os.walk
  • File operations using shutil module

FAQs

Category:

Unble To Find a Batch..?

Request a Batch