0% found this document useful (0 votes)
200 views

Python Programming - Syllabus

The document outlines the topics covered in a Python programming course across 5 units: basics of Python including variables, data types, operators, and input/output; control statements such as if/else, while and for loops; lists, tuples, sets and dictionaries; functions including built-in functions, variable arguments, and modules; object oriented programming concepts like classes, inheritance and polymorphism; and error handling including exceptions and file input/output. The course also references 3 textbooks and additional references for further learning.

Uploaded by

Kamalsaka
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
200 views

Python Programming - Syllabus

The document outlines the topics covered in a Python programming course across 5 units: basics of Python including variables, data types, operators, and input/output; control statements such as if/else, while and for loops; lists, tuples, sets and dictionaries; functions including built-in functions, variable arguments, and modules; object oriented programming concepts like classes, inheritance and polymorphism; and error handling including exceptions and file input/output. The course also references 3 textbooks and additional references for further learning.

Uploaded by

Kamalsaka
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

PYTHON PROGRAMMING

Unit I

BASICS : Python - Variables - Executing Python from the Command Line - Editing Python Files - Python
Reserved Words - Basic Syntax-Comments - Standard Data Types – Relational Operators - Logical
Operators - Bit Wise Operators - Simple Input and Output.

Unit II

CONTROL STATEMENTS: Control Flow and Syntax - Indenting - if Statement - statements and
expressions- string operations- Boolean Expressions -while Loop - break and continue - for Loop.
LISTS:List-list slices - list methods - list loop – mutability – aliasing - cloning lists - list parameters.
TUPLES:Tuple assignment, tuple as return value -Sets – Dictionaries.

Unit III

FUNCTIONS: Definition - Passing parameters to a Function - Built-in functions- Variable Number of


Arguments - Scope – Type conversion-Type coercion-Passing Functions to a Function - Mapping
Functions in a Dictionary – Lambda - Modules - Standard Modules – sys – math – time - dir - help
Function.

Unit IV

ERROR HANDLING: Run Time Errors - Exception Model - Exception Hierarchy - Handling Multiple
Exceptions - 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.

Unit V

OBJECT ORIENTED FEATURES: Classes Principles of Object Orientation - Creating Classes - Instance
Methods - File Organization - Special Methods - Class Variables – Inheritance – Polymorphism - Type
Identification - Simple Character Matches - Special Characters - Character Classes – Quantifiers - Dot
Character - Greedy Matches – Grouping - Matching at Beginning or End - Match Objects – Substituting -
Splitting a String - Compiling Regular Expressions.

TEXT BOOKS

1. Mark Summerfield. ―Programming in Python 3: A Complete introduction to the PythonLanguage,


Addison-Wesley Professional, 2009. 2. Martin C. Brown, ―PYTHON: The Complete Reference‖, McGraw-
Hill, 2001.

REFERENCES

1. Allen B. Downey, ``Think Python: How to Think Like a Computer Scientist‘‘, 2nd edition, Updated for
Python 3, Shroff/O‘Reilly Publishers, 2016

2. Guido van Rossum and Fred L. Drake Jr, ―An Introduction to Python – Revised and updated for
Python 3.2, Network Theory Ltd., 2011.

3. Wesley J Chun, ―Core Python Applications Programming‖, Prentice Hall, 2012.

You might also like