Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

PYTHON PROGRAMMING

CS1010

Total Contact Hours : 45


Prerequisite : Nil

L T P C
0

PURPOSE
The purpose of this course is to impart knowledge in Python programming
INSTRUCTIONAL OBJECTIVES
1. To Learn the programming constructs of Python language
2. To be familiar with the programming concepts of Python language
3. To know about the way of using databases in Python
4. To Understand the User interface and Multimedia concepts of Python
Unit -1 : Variables, Data types, Expressions and Strings
( 9 Hours )
Why python How is Python Different - Installing Python Identifiers and operators Numeric
types - Assigning values to variables Expressions Strings Converting between data types
Advanced data types : Lists Tuples Dictionaries Objects.
Unit-2 : Control Flow, Functions and Modules
( 9 Hours )
If statements For loops While loops Throwing and catching Exceptions Defining
functions Grouping code with modules Importing and Locating modules - Scope rules.
Unit-3 : Object Oriented Python and Input-Output Statements
( 9 Hours )
Classes and Objects Deriving new classes from other classes Hiding Private Data
Identifying class membership Overloading Weak references. Input-Output : Printing
Keyboard input Opening, closing and positioning files Reading and Writing files Standard
I/O File Like Object.
Unit-4 : Databases
( 9 Hours )
Data storage overview Loading and saving objects Database like storage Converting to and
from C structures Converting data to standard formats compressing data Disk based
dictionaries Accessing relational databases Relational meta data Features of the DB API
Unit-5 : User Interfaces and Multimedia
( 9 Hours )
Creating a GUI Laying out widgets Common options Gathering user input Using text
widgets Building menus Dialogs Handling colors and fonts Drawing graphics Using
Timers Sound file Basics Playing sounds Examining audio files Reading and writing
audio files Handling audio files
Text Book :
1. Dave Brueck, Stephen Tanner Python 2.1 Bible Hungry Minds Inc 2001
Reference Books :
1. Martin C. Brown Python The complete Reference Tata McGraw Hill 2001.
2. Magnus Lie Hetland Beginning Python a press 2009
3. Mark Lutz Programming Python Oreilly Publishers 2011.

You might also like