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

Python

The document outlines the course objectives, inputs, and structure for a Python Programming course with the code 19SSI41. The course covers Python fundamentals like variables, data types, conditionals, functions, strings, lists, dictionaries, files and modules. Students will also learn object-oriented programming in Python, building GUIs, and connecting to a MySQL database from a Python GUI application.

Uploaded by

Rohith Yasif
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

Python

The document outlines the course objectives, inputs, and structure for a Python Programming course with the code 19SSI41. The course covers Python fundamentals like variables, data types, conditionals, functions, strings, lists, dictionaries, files and modules. Students will also learn object-oriented programming in Python, building GUIs, and connecting to a MySQL database from a Python GUI application.

Uploaded by

Rohith Yasif
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Programme Course Code(s) Title

M.Sc.(SS) 19SSI41 DSC 39: Python


Programming

Course Objective: On successful completion of the course the students should have
the Knowledge about Python Programming
Course Inputs:
Unit 1: Introduction: What is a program –What is a Python Programming – History of Python
Programming – Applications of Python Programming – Running Python –The first Program –
Arithmetic Operators -Values and Types. Variables Expressions and Statements: Assignment
Statements – Variable names –Expressions and statements – Script mode – String operations –
Data Types - Comments – User Input Functions: Why functions - Function calls – Math
functions – Composition – Adding new functions – Definitions and uses – Flow of execution
Parameters and Arguments – Variables and Parameters are local – Fruitful functions and void
functions – Debugging
Unit 2: Conditionals and recursion: Floor division and modules – Boolean expressions –
Logical Operators – Conditional execution – chained conditionals – Nested conditionals –
Recursion – Stack diagrams for recursive functions – infinite recursion – Debugging
Fruitful functions: Return values – Incremental development – Composition – Boolean
functions –More Recursion – Checking type – Debugging.Iteration: Reassignment – Updating
variables –The While statement – Break – Square roots –Algorithms – Debugging
Unit 3: Strings: A string is a sequence – len –Traversal with for loop – String slices – Strings
are immutable – Searching – Looping and counting –String methods – The in Operator – String
Comparison – Debugging - Case Study - Word play Lists: A list is a sequence – Lists are
immutable –Traversing a list – List Operations – List slices –List methods – Map, filter and
reduce - Deleting elements – Lists and strings – Objects and values – Aliasing – List arguments
– Debugging Dictionaries: A dictionary is mapping –Dictionary as a collection of Counters –
Looping and dictionaries – Reverse lookup – Dictionaries and lists – Memos – Global
Variables
Unit 4: Tuples: Tuples are immutable –Tuple assignment – as return values – variable length
argument tuples – lists and tuples – Dictionaries and tuples –Debugging
Files: What is files - Text Files - Reading and writing – Reading and writing CSV, Excel files
using functions. Modules: Importing module, Creating and exploring modules, Math module,
Random module, Time module. Using OOPs in Python: What is a Class – Objects - Classes
and Objects – Classes and functions – Classes and methods – Inheritance
Unit 5: Creating the GUI Form and Adding Widgets:Widgets: Button, Canvas, Check button,
Entry, Frame, Label, List box, Menu button, Menu, Message, Radio button, Scale, Scrollbar,
text, Top level, Spin box, Paned Window, Label Frame, tkMessage box. Handling Standard
attributes and Properties of Widgets.Layout Management: Designing GUI applications with
proper Layout Management features.Storing Data in Our MySQL Database via Our GUI:
Connecting to a MySQL database from Python, Configuring the MySQL connection,
Designing the Python GUI database, Using the INSERT command, Using the UPDATE
command, Using the DELETE command, Storing and retrieving data from MySQL database.

CIA: 25 Marks; End Semester: 75 Marks

Reference Books:
A. Allen Downey; Think Python; 2nd edition; O’Reilly; 2015.
B. Burkhard A.Meier; Python GUI Programming Cookbook; 2nd edition; packet
Publishers; 2017.
C. Leonardo Gorman; Python for Beginners: A Simple and Concise Guide to Learn
Coding Fast; Create Space Independent Publishing Platform; 2016.

You might also like