Training Services

Technical Trainings

Advance QTP Training

Basic Testing Training

Basic Advanced NET Training

Python Training

QARun Automation Training

Domain Trainings
 

Python Fundamentals is a 4-day training course in the Python language and its many applications. All concepts are explained through hands-on examples and exercises, so students learn by coding in Python. This hands-on Python training uses a series of lectures, demonstrations, and exercises to teach students how to design, develop, and debug Python applications. Students attending this Python training course will learn the fundamentals of Python, including data types, object oriented model, list comprehension, exception handling, flow control/looping, packages, modules, inheritance, and much more.

Objectives:

Upon completion of this course, you will be able to:

  • Develop applications and application frameworks using the Python language
  • Write Python scripts that interface with the Operating System, File system, and network
  • Develop Python applications that interface with the WWW (server)
  • Maintain session and state with WWW applications written in Python
  • Understand and utilize Python's Object Oriented features
  • Access a wide range of databases using Python, and understand Pythons Database Access API 2.0
  • Apply python at the command line as a powerful scripting language
  • Leverage Pythons built-in features and modules to build scripts
  • Use Python's modules for text and XML processing, networking, system process control, database/LDAP/HTTP communication, etc.

Audience:

This course is designed for programmers/testers who need to develop/test software in Python as well as system administrators who wish to take advantage of Python's simple scripting abilities to automate back-end tasks.

Students should have some prior programming experience and be familiar with basic concepts such as variables/scopes, flow-control, functions, modularization, error handling, TCP/IP networking, and so forth.

Familiarity with object-oriented programming language (such as Java or C++) and/or scripting languages (such as Perl or Bash shell scripting) can be helpful.

Additional Notes:

This course can be taught on most major operating systems, which support Python, such as Windows, Linux, Mac OS X, etc.

Outline:

Overview

  • Background
  • Features and Benefits
  • Python compared to other languages
  • Requirements
  • Installation
  • Python Shell

Your First Python Program

  • Hello World
  • Keywords
  • Identifiers
  • Invoking Functions
  • Running Python Scripts 

Datatypes

  • Everything is an object
  • Variables 
    1. Declaring
    2. Assigning
    3. Referencing
  • Simple types
  • Strings and Unicode Strings
    1. Operations
  • Lists, Queues, Stacks, Sets
    1. Operations
    2. range()
  • Dictionaries
    1. Operations
  • Tuples
    1. Tuple Operations

Operators and Flow Control

  • Operators
  • Indentation
  • if, elif, else
  • for, while, else (on loops)
  • break, continue, pass
  • and, or
  • Filtering lists

Functions

  • Defining functions
  • Default argument values and keyword arguments
  • Variable arguments
  • Lambda functions
  • Introspecting functions with getattr
  • Documenting functions

Object Oriented Programming

  • Overview of OOP
  • Class vs Object
  • Defining classes
  • Namespaces
  • Initialization
  • Using self and __init__
  • Memory management and garbage collection
  • Class vs instance attributes and methods
  • Special methods: getitem, setitem, delitem, repr, cmp, len, str
  • Comparing objects
  • Private method and attribute visibility

Exceptions

  • Overview
  • Handling Exceptions
  • Raising Exceptions
  • Defining Custom Exceptions

Modules 

  • Overview
  • Standard modules
  • Using modules
  • dir function
  • Packages

I/O

  • File Objects
    1. Reading
    2. Writing
    3. Closing
  • Handling Exceptions
  • The pickle module
  • The sys module
  • Working with directories

Standard Library

  • Command-line arguments
  • Streams
  • Compression
  • Regular Expressions
  • Mathematics
  • Networking

HTTP Web Client

  • Fetching data over HTTP
  • Features of HTTP (redirects, user agents, compression, caching)
  • Debugging 

XML and HTML Processing

  • Parsing XML documents
  • Unicode
  • Accessing elements and attributes
  • sgmllib.py
  • Extracing data from HTML documents 

SOAP Web Services

  • Overview
  • Installing SOAP libraries
  • Accessing web services
    1. Doing Google Search
  • Troubleshooting

Unit Testing

  • Overview
  • Testing for success
  • Testing for failure
  • Testing for sanity
  • Test-driven development

Refactoring

  • Handling bugs
  • Handling changing requirements
  • Refactoring code 

Performance Tuning

  • Benchmarking
  • The timeit module
  • Optimizing code
    1. Algorithms
    2. Regular expressions
    3. Dictionary lookups
    4. List operations
    5. String manipulation

Python as a Testing Tool

  • How python can be used in testing
  • Tips n tricks in python for testing

Pricing:

Contact@softsquare.in for pricing and more details.

 
     
© 2010 Fidelis Corporation Inc. All rights reserved.
Sitemap  |  Careers  |  Privacy  |  Copyright