GANPAT UNIVERSITY
FACULTY OF ENGINEERING & TECHNOLOGY
Programme Bachelor of Technology Branch/Spec. Computer Engineering / Information
Technology
Semester IV Version 2.0.0.0
Effective from Academic Year 2019-20 Effective for the batch Admitted in July 2018
Subject code 2CEIT404 Subject Name Programming with Python
Teaching scheme Examination scheme (Marks)
(Per week) Lecture(DT) Practical(Lab.) Total CE SEE Total
L TU P TW
Credit 3 0 1 - 4 Theory 40 60 100
Hours 3 0 2 - 5 Practical 30 20 50
Pre-requisites:
Course on Basics of Web Technoloy
Learning Outcome:
After successful completion of this course, student will be able to
Develop proficiency in creating applications using the Python Programming Language.
Be able to understand the various data structures available in Python programming language and
apply them in solving computational problems.
Be able to do testing and debugging of code written in Python.
Be able to create GUI applications in Python.
Be able to develop web applications with database.
Theory syllabus
Unit Content Hrs
Introduction:
1 Why Python? Python Concepts, Dynamic vs. Static Types, Procedural vs. Object-Oriented 03
Programming, Comparing Programming Languages: C,C++,JAVA, C#, Python, Python Interpreter
Programming with Python:
Launching Python programs, Types and Operators, Python Syntax, Indentation, Multiple Line
2 05
Spanning, Python Object Types, Python Numbers, Strings and string operations, Regular
expressions, Exception Handling
Dictionaries, List and Tuples:
3 Concept of dictionary, list and tuple: accessing, updating, deletion and basic operations of 03
dictionary, list and tuple, Applications of dictionary, list and tuple
File handling:
4 Files, File Operations, Files and Streams, Creating a File, Reading From a File, Iterating Through 03
Files, Writing file, Maintain students record using file handling
Object oriented programming with python:
5 03
Learning Python classes and objects, Built-In Class Attributes and Class Methods
GUI Programming in Python using Tkinter:
6 04
Tkinter Introduction, Working with widgets: button, labels, text boxes, Checkbutton, etc.
Working with Databases:
7 Working With a Databases, Using SQL to Query a Database, Python and SQLite and MYSQL, 07
Creating Database, Pulling Data from a DB
Python with CGI script
8 CGI architecture, CGI Environment Variable, Get and POST Methods, CGI script with different 05
HTML controls
Networking and Multithreaded Programming
9 06
Sockets, Threads and Processes, Chat Application, Sending Email using smtplib
Web application using Django Framework
10 06
Django Framework: Introduction, Installation, Apps Life Cycle, Admin Interface, Creating Views,
URL mapping, Template System, Models, Web application using Django framework
Practical content
Practicals would be carried out based on syllabus
Text Books
1 Learning program to Python by Cody Jackson 2nd edition
Reference Books
1 Beginning Python by James Payne, Wrox Publication
2 Beginning Python by Magnus Lie Hetland, Apress Publication
3 Django: Web Development with Python, by Samuel Dauzon, Aidas Bendoraitis, Arun Ravindran, packt
Web Resources
1 https://www.tutorialspoint.com/python/
2 https://tutorial.djangogirls.org/en/
ICT / MOOCs
1 https://nptel.ac.in/courses/106106145/
2 https://nptel.ac.in/courses/106106182/