JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

PYTHON PROGRAMMING

M.Tech I Year I Semester (R19)

Course Objectives

This course will enable students to

  • 1. Learn Syntax and Semantics and create Functions in Python.
  • 2. Handle Strings and Files in Python.
  • 3. Understand Lists, Dictionaries and Regular expressions in Python.
  • 4. Implement Object Oriented Programming concepts in Python.
  • 5. Build Web Services and introduction to Network and Database Programming in Python.

Course Outcomes

The students should be able to:

  • 1. Examine Python syntax and semantics and be fluent in the use of Python flow control and functions.
  • 2. Demonstrate proficiency in handling Strings and File Systems.
  • 3. Create, run and manipulate Python Programs using core data structures like Lists, Dictionaries and use Regular Expressions.
  • 4. Interpret the concepts of Object-Oriented Programming as used in Python.
  • 5. Implement exemplary applications related to Network Programming, Web Services and Databases in Python.

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

Page 10 of 52

R19 M.TECH WEB TECH./ INF TECH.

UNIT - V

Database Programming: Introduction, Python Database Application Programmer’s Interface (DB-API), Object Relational Managers (ORMs), Related Modules

Text Book:

  • 1. Core Python Programming, Wesley J. Chun, Second Edition, Pearson. Page 11 of 52 R19 M.TECH WEB TECH./ INF TECH. M. Tech. (IT/ WT) I Year – I Semester Common to IT and WT

Loading Question Papers

Fetching data from database...