Enrolment options
Python for Engineering Students
This course is tailored for engineering students in India, specifically aligning with the curriculum set forth by JNTUH University."
CS311PC: Python Programming
Register hereB.Tech. II Year I Sem. L T P C: 2 0 0 2
Prerequisites: A course on “Programming for Problem Solving using C”.
Course Objectives:
- Learn Syntax and Semantics and create Functions in Python.
- Handle Strings and Files in Python.
- Understand Lists, Dictionaries, and Regular expressions in Python.
- Implement Object Oriented Programming concepts in Python.
- Build Web Services and introduction to Network and Database Programming in Python.
Course Outcomes:
- Examine Python syntax and semantics and be fluent in the use of Python flow control and functions.
- Demonstrate proficiency in handling Strings and File Systems.
- Create, run and manipulate Python Programs using core data structures like Lists, Dictionaries and use Regular Expressions.
- Interpret the concepts of Object-Oriented Programming as used in Python.
- Implement exemplary applications related to Network Programming, Web Services, and Databases in Python.
Course Syllabus:
UNIT - I
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
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
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: 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
Textbook:
1. Core Python Programming, Wesley J. Chun, Second Edition, Pearson.
Reference Books:
- Think Python, Allen Downey, Green Tea Press
- Introduction to Python, Kenneth A. Lambert, Cengage
- Python Programming: A Modern Approach, Vamsi Kurama, Pearson
- Learning Python, Mark Lutz, O’Really.
- Teacher: Admin User
- Enrolled students: 199