Python Development

Object-oriented programming is possible with Python, a computer language which is gaining traction and carving a niche for itself in the high performance computing space.

In 2014, Python was found to be the most popular language for teaching computer science courses to beginners at leading US colleges. Almost eight out of ten Computer Science departments and 27 of the top 39 were found to be teaching Python at the introductory level.

Owing to the fact that it is one of the easiest programming languages to learn, Python has been gaining popularity and has the potential to become the programming language of choice for both individuals and enterprises going forward. Today, a large number of organizations are migrating and transitioning to Python. Google, for instance, has scores of engineers who are using Python and the company is constantly looking for people with skills in the language. Considering its rapid proliferation there is a great need for training that equips students with Python skills, especially in India. Python training courses will acquaint the country’s students with this simple language. Such Python training courses will also help India’s young people to improve their employability quotient and job worthiness in the market.

Recognizing the growth of Python, SBIT has introduced the ‘Programming Using Python’ course which has been structured in a way that even a student with no programming knowledge can easily pick up the language.

Therefore learn Python programming at SBIT and equip yourselves with skills that make you a preferred resource for hirers.

Program Module & Details

The program is well tuned to the needs of students who are acquainted with Java or C# and are keen to learn another open source language. Students opting for this course will:

  • Learn to build the logic and write programs in Python using variables, operators, etc.

  • Be able to develop a program block using functions, to store data to file, dictionaries etc.

  • Know how to construct networked programs using web services and databases

  • Be able to identify basic building blocks of a programming language

  • Become proficient at handling files

  • Know how to store and manipulate data using dictionary and tuples


Why Python Popular???

  • Easy to learn

  • Easy to program in

  • Capable of creating apps that can handle heavy traffic without problems

  • Useful for developers who can add more features in an app quickly and easily

  • Useful for companies as it helps cut development costs

  • Useful for organizations as it enables them to reach everyone—whether to build a simple repeatable workflow or conduct a GIS analysis


Course Outline

1 - An Introduction to Python

A Brief History of Python Python Versions

Installing Python

Environment Variables

Executing Python from the Command Line


Editing Python Files

Python Documentation

Getting Help

Dynamic Types

Python Reserved Words

Naming Conventions


2 - Basic Python Syntax

Basic Syntax Comments

String Values

String Methods

The format Method

String Operators

Numeric Data Types

Conversion Functions

Simple Input and Output The % Method

The print Function


3 - Language Components

Indenting Requirements

The if Statement

Relational Operators

Logical Operators

Bit Wise Operators

The while Loop

break and continue

The for Loop


4 - Collections


Tuples Sets Dictionaries

Sorting Dictionaries

Copying Collections


5 - Functions

Defining Your Own Functions


Function Documentation

Keyword and Optional


Passing Collections to a Function

Variable Number of Arguments Scope

Functions - "First Class Citizens"

Passing Functions to a Function

Mapping Functions in a Dictionary


Inner Functions



6 - Modules


Standard Modules - sys

Standard Modules - math

Standard Modules - time

The dir Function


7 - Exceptions


Run Time Errors

The Exception Model

Exception Hierarchy

Handling Multiple Exceptions raise


Writing Your Own Exception Classes


8 - Input and Output

Data Streams

Creating Your Own Data Streams

Access Modes

Writing Data to a File

Reading Data From a File

Additional File Methods

Using Pipes as Data Streams

Handling IO Exceptions

Working with Directories Metadata

The pickle Module


9.Implementing Classes and Objects

Declaring and modifying objects

Encapsulating attributes and methods in classes

Initializing objects with constructors

Accessing and modifying attributes with methods

Overloading operators

Inheritance and polymorphism

Reusing functionality through inheritance

Extending methods from base classes

Overriding methods for dynamic behavior

Tracing the scope in the namespace

Enhancing functionality with class decorators


10. Writing GUIs in Python

Components and Events
The tk Widget
Button Widgets
Entry Widgets
Text Widgets
Checkbutton Widgets
Radiobutton Widgets
Listbox Widgets
Frame Widgets
Menu Widgets
Toplevel Widgets

11. Python and CGI Scripts

What is CGI
HTML Forms
A Guestbook Application
What Can Go Wrong!
HTML Tables
The CGI Script
Rendering of the Script

12. The os Module

The Environment
Creating a Process
Listing Files
Other Process Methods
File Information (Metadata)
Working with Directories

13. Network Programming

Networking Fundamentals
The Client/Server Module
The socket Module
The Client Program
The Server Program
An Evaluation Client and Server
A Threaded Server

14.What You Might Not Already Know

What is an Iterable?
Creating Your Own Iterators
The Functions any and all
Thread Fundamentals
The Python Debugger
The with Statement
Data Compression

15. Python and Databases

DBM Operations
Pickling with Complex Objects
Using sqlite3
Executing Queries
Table Descriptions
Writing Database Scripts