Python Programming - IIT Roorkee

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

Python Programming - Detailed Course Content

(Basic + Advanced)

Python is a programming language that lets you work more quickly and integrate your systems more
effectively. You can learn to use Python and see almost immediate gains in productivity and lower
maintenance costs.
Python is a remarkably powerful dynamic programming language that is used in a wide variety of
application domains. Python is often compared to Tcl, Perl, Ruby, Scheme or Java. Some of its key
distinguishing features include:

 very clear, readable syntax


 strong introspection capabilities
 intuitive object orientation
 natural expression of procedural code
 full modularity, supporting hierarchical packages
 exception-based error handling
 very high level dynamic data types
 extensive standard libraries and third party modules for virtually every task
 extensions and modules easily written in C, C++ (or Java for Jython, or .NET languages for
IronPython)
 Embeddable within applications as a scripting interface.

Application Domains:

 Web and Internet Development


 Database Access
 Desktop GUIs
 Scientific and Numeric Computing
 Education
 Network Programming
 Software Development
 Game and 3D Graphics

Companies using Python:

 Google, Yahoo!, Youtube, CERN,NASA,ILM, ITA and many more !

Copyright ® || Diginique TechLabs


Topics to be Covered:
Introduction

 History
 Features
 Setting up path
 Working with Python
 Basic Syntax
 Variable and Data Types
 Operator

Conditional Statements

 If
 If- else
 Nested if-else

Looping

 For
 While
 Nested loops

Control Statements

 Break
 Continue
 Pass

String Manipulation

 Accessing Strings
 Basic Operations
 String slices
 Function and Methods

Lists

 Introduction
 Accessing list
 Operations
 Working with lists

Copyright ® || Diginique TechLabs


 Function and Methods

Tuple

 Introduction
 Accessing tuples
 Operations
 Working
 Functions and Methods

Dictionaries

 Introduction
 Accessing values in dictionaries
 Working with dictionaries
 Properties
 Functions

Functions

 Defining a function
 Calling a function
 Types of functions
 Function Arguments
 Anonymous functions
 Global and local variables

Modules

 Importing module
 Math module
 Random module
 Packages
 Composition

Input-Output

 Printing on screen
 Reading data from keyboard
 Opening and closing file
 Reading and writing files
 Functions

Copyright ® || Diginique TechLabs


Exception Handling

 Exception
 Exception Handling
 Except clause
 Try ? finally clause
 User Defined Exceptions

Advance Python
OOPs concept

 Class and object


 Attributes
 Inheritance
 Overloading
 Overriding
 Data hiding

Regular expressions

 Match function
 Search function
 Matching VS Searching
 Modifiers
 Patterns

CGI

 Introduction
 Architecture
 CGI environment variable
 GET and POST methods
 Cookies
 File upload

Database

 Introduction
 Connections
 Executing queries
 Transactions
 Handling error

Copyright ® || Diginique TechLabs


Networking

 Socket
 Socket Module
 Methods
 Client and server
 Internet modules

Multithreading

 Thread
 Starting a thread
 Threading module
 Synchronizing threads
 Multithreaded Priority Queue

GUI Programming

 Introduction
 Tkinter programming
 Tkinter widgets

Sending email

Copyright ® || Diginique TechLabs

You might also like