Beginning with Python Programming

Why Python? 1

Reasons for Python as the learner are the first programming language.

Introduction to the IDLE interpreter (shell) and its documentation.

Building Blocks of Program: Data, Data Types, Data Binding, Variables, Constants, Declaration, Operations on Data such as assignment, arithmetic, relational, logical operations, dry run, and variables used.

Develop Code using Python: Features, basic syntax, Writing and executing a simple program, Basic Data Types such as numbers, strings, etc.

Declaring variables, Performing assignments, arithmetic operations, Simple input-output Sequence Control:

Precedence of operators, Type conversion Conditional Statements: if, if-else, nested if-else.

Looping: for, while, nested loops Control statements: Terminating loops, skipping specific conditions

Collection Manipulation: declaring strings, string functions, Lists, Tuples, Maps 5

Functions And Modules: Defining a function, calling a function, Advantages of functions, types of functions, function parameters, Formal parameters, Actual parameters, global and local variables,

Anonymous functions, List comprehension Importing module, Creating & exploring modules(date, random, etc)

Python File Input-Output: Opening and closing files, various types of file modes, reading and writing to files, manipulating directories

Iterables, iterators and their problem-solving applications.

Fundamental ideas of OOP: encapsulation, inheritance, abstraction, polymorphism, Classes, Objects in python

Exception Handling: What is an exception, various keywords to handle exceptions such as try, catch, except, else, finally, raise.

Regular Expressions: Concept of a regular expression, various types of regular expressions, using match function.

GUI Programming in Python (using Tkinter/wxPython/Qt) What is GUI, Advantages of GUI, Introduction to GUI library. Layout management, events, and bindings, fonts, colors, drawing on canvas (line, oval, rectangle, etc.) Widgets: frame, label, button, check button, entry, Listbox, message, radio button, text, spinbox, etc.

Database Connectivity In Python: Installing MySQL connector, accessing connector module, using connect, cursor, execute & close functions, reading single & multiple results of query execution, executing different types of statements, executing transactions, understanding exceptions in database connectivity.

Network Connectivity: Socket module, creating server-client programs, sending an email, reading from URL

Finally, the role of Python in ML and NLP.



