PYTHON PROGRAMMING
(OPEN ELECTIVE- II)
IV-B.Tech I-Semester LTPC
Course Code: A1DS703OE 3003
COURSE OBJECTIVES:
The course should enable the students to learn:
1. Understand the basics and function of Python Programming Language.
2. Understand the string operation and sequences used in Python Programming Languages.
3. Understand the data structures used in Python Programming Languages.
4. Know the classes and objects in Python Programming Language.
5. Use the reusability concepts in Python Programming Language.
COURSE OUTCOMES:
At the end of the course, student will be able to:
1. Apply control structures and functions in Program.
2. Analyze various String handling functions and data structures.
3. Apply the files and object orientation concepts.
4. Solve the problems by using Inheritance and polymorphism.
5. Illustrate programs on various python libraries such stumpy, pandas and matplotlib.
UNIT – I INTRODUCTION TO PYTHON PROGRAMMING
Python Basics, Objects- Python Objects, Standard Types, Other Built-in Types, Internal Types, Standard Type Operators,
Standard Type Built-in Functions, Categorizing the Standard Types, Unsupported Types Numbers - Introduction to Numbers,
Integers, Floating Point Real Numbers, Complex Numbers, Operators, Built-in Functions, Related Modules Sequences -
Strings, Lists, and Tuples, Mapping and Set Types.
UNIT – II FILE, EXCEPTION HANDLING AND OOP
FILES: File Objects, File Built-in Function [ open() ], File Built-in Methods, File Built-in Attributes, Standard Files,
Command-line Arguments, File System, File Execution, Persistent Storage Modules, Related Modules Exceptions:
Exceptions in Python, Detecting and Handling Exceptions, Context Management,
*Exceptions as Strings, Raising Exceptions, Assertions, Standard Exceptions, *Creating Exceptions, Why Exceptions (Now)?,
Why Exceptions at All?, Exceptions and the sys Module, Related Modules Modules: Modules and Files, Namespaces,
Importing Modules, Importing Module Attributes, Module Built-in Functions, Packages, Other Features of Modules
UNIT – III INTRODUCTION TO REGULAR EXPRESSIONS
Regular Expressions: Introduction, Special Symbols and Characters, Res and Python Multithreaded Programming:
Introduction, Threads and Processes, Python, Threads, and the Global Interpreter Lock, Thread Module, Threading Module,
Related Modules
UNIT – IV GUI PROGRAMMING
GUI Programming: Introduction, Tkinter and Python Programming, Brief Tour of Other GUIs, Related Modules and Other
GUIs WEB Programming: Introduction, Wed Surfing with Python, Creating Simple Web Clients, Advanced Web Clients,
CGI-Helping Servers Process Client Data, Building CGI Application Advanced CGI, Web (HTTP) Servers.
UNIT – V DATABASE PROGRAMMING
Database Programming: Introduction, Python Database Application Programmer’s Interface (DB- API), Object
Relational Managers (ORMs)
TEXTBOOKS:
1. Core Python Programming, Wesley J. Chun, Second Edition, Pearson.
REFERENCE BOOKS:
1. Think Python, Allen Downey, Green Tea Press
2. Introduction to Python, Kenneth A. Lambert, Cengage
3. Python Programming: A Modern Approach, Vamsi Kurama, Pearson 4. Learning Python, Mark Lutz, O’Really.
WEB REFERENCES:
1. https://www.programiz.com/python-programming
2. https://www.javatpoint.com/python-tutorial
3. https://www.geeksforgeeks.org/python-programming-language/