Вы находитесь на странице: 1из 2

Syllabus

MCA
SCA 869 : Python Programming
Flours per week: 4
Credits: 4 End Examination: 60 Marks
Sessionals: 40 Marks
Objectives: The course presents the introduction to Python Programming features, Files,
Sequence Data handling.
UNIT- I
An Overview of Python: Introductio+n to Python, Interpreted languages, Advantages
and disadvantages, Downloading and installing, Running Python. Scripts, Structure of a
Python script, Using the interpreter interactively, Running standalone scripts under Unix
and Windows.

Using variables: String types: normal, raw and Unicode, String operators and
expressions,

Math operators and expressions, writing to the screen, Command line parameters,
Reading from the keyboard.

Flow Control: About flow control, Indenting is significant, The if and else if statements,
while loops Using lists, Using the for statement and the'range() function. .

UNIT - II
, Sequence. Data: List operations, list methods, Strings are special kinds of lists,
tuples, sets,

Dictionaries.

Defining Functions: Syntax of function definition, Formal parameters, Global versus


local variables, Passing parameters and returning values:

Working with Files: Text file I/O overview, Opening a text file, Reading text files,
Raw (binary) data, Using the pickle module and Writing to a text file.
UNIT — III
Dictionaries and Sets: Dictionary overview, Creating dictionaries, Dictionary
functions, Fetching keys or values, Testing for existence of elements and Deleting
elements.
Errors and Exception Handling: Dealing with syntax.errors, Exceptions, Handling
exceptions with try/except and Cleaning up with finally.
. UNIT-IV
Using Modules: About module, The import statement, Function aliases and Packages.
Regular Expressions: RE Objects, Pattern matching, Parsing data, Sub expressions,
Complex substitutions and RE tips and tricks.
UNIT—V
Highlights of the Standard Library: Working with the operating system, Grabbing web
pages, Sending email, Using glob for filename wildcards, math and random, Accessing
dates and times with date time and Working with compressed files.

An Introduction to Python Classes: About o-o programming, Defining classes,


Constructors, Instance methods, Instance data, Class methods and data and Destructors.
Text Books:
1. Learn Python the Hard way, Zed Shaw, Addition Wesley Publications, 3rd Edition.
2. Think Python, Allen B. Downey, 1st Edition, O'Reilly
Publications. Reference Books: .
1. Programming Python, Mark Lutz, 4th Edition.
2. Python in a nutshell, Alex Martelli, 2nd Edition, O'Reilly Publications.

Вам также может понравиться