This course enables the students to Course Outcomes(COs): Learning Outcome (at course level) Learning and teaching strategies Assessment Strategies CO136. Define basic concepts of Python programming. CO137. Describe basic Python file operations. CO138. Illustrate how to use Oops concepts using Python. CO139. Compare and analyze different packages used in Python. CO140. Evaluate, analyze and handle the exceptions in Python programming. CO141. Create new ideas where the knowledge of Python can be implemented. Approach in teaching: Interactive Lectures, Modeling, Discussions, implementing enquiry based learning, Student centered approach, Through audio-visual aids Learning activities for the students: Experiential Learning, Presentations, Case based learning, Discussions, Quizzes and Assignments · Assignments · Written tests in classroom · Classroom Activity · Objective Quiz · Semester End Exam
Introduction and overview Introduction, What is Python, Origin, Comparison, Comments, Variables and Assignment, Identifiers, Basic Style Guidelines, Python Objects, Standard Types, Other Built-in Types, Internal Types, Operators, Built-in Functions, Numbers and Strings. Introduction to Numbers, Integers, Floating Point Real Numbers, Complex Numbers, Sequences: Strings, Sequences, Strings, String-only Operators, Built-in Functions, String Built-in Methods, Special Features of Strings, , Memory Management, Python Application Examples
Lists and Dictionaries Built-in Functions, List type built in Methods, Special Features of Lists, Tuples, Tuple Operators and Built-in Functions, Special Features of Tuples, Introduction to Dictionaries, Built-in Functions, Built-in Methods, Dictionary Keys, Conditionals and Loops: if statement, else Statement, elif Statement, while Statement, for Statement, break Statement, continue Statement, pass Statement, else Statement
Object, Classes and Files Classes in Python, Principles of Object Orientation, Creating Classes, Instance Methods, Class variables, Inheritance, Polymorphism, Type Identification, File Objects, File Built-in Function, File Built-in Methods, File Built-in Attributes, Standard Files, Command-line Arguments, File System, File Execution, Persistent Storage Modules.
Regular Expression and Exception Handling Regular Expression: Introduction/Motivation, Special Symbols and Characters for REs, REs and Python. What Are Exceptions? Exceptions in Python, Detecting and Handling Exceptions, Exceptions as Strings, Raising Exceptions, Assertions, Standard Exceptions
Database Interaction SQL Database connection using python, creating and searching tables, Reading and storing config information on database, Programming using database connections, Python Multithreading: Understanding threads, Forking threads, synchronizing the threads, Programming using multithreading