COURSE STRUCTURE
Introduction to Python
- Introductory Remarks about Python
- A Brief History of Python
- How python is differ from other languages
- Python Versions
- Installing Python and Environment Setup
- IDLE
- How to execute Python program
- Writing your first Python program
Variables, Data Types & Operators
- Memory mapping of variables
- Keywords in Python
- Comments in python
- Arithmetic Operators
- Assignment Operators
- Comparison Operators
- Logical Operators
- Membership Operators
Data types in Python
- Numbers
- Strings
- Lists
- Tuples
- Dictionary
- Sets
- 3D asset Creation
Numbers and Strings
- Intro. to Python ‘Number’ & ‘string’ data types
- Properties of a string
- String built-in functions
- Programming with strings
- String formatting
Lists and Tuples
- Intro to Python ‘list’ data type
- Properties of a list
- List built-in functions
- Programming with lists
- List comprehensio
Dictionary and Sets
- Intro to Python ‘dictionary’ data type
- Creating a dictionary
- Dictionary built-in functions
- Set and set properties
- Set built-in functions
Decision making & Loops
- Intro of Decision Making
- Control Flow and Syntax
- The if Statement
- The if...else Statement
- The if...elif...else Statement
- Nested if...else Statement
- The while Loop
- break and continue Statement
User defined Functions
- Intro of functions
- Function definition and return
- Function call and reuse
- Function parameters
- Function recipe and docstring
- Scope of variables
- Recursive functions
- Lambda / Anonymous Functions
Modules and Packages
- Module
- Importing module
- Standard Module - sys
- Standard Module - OS
- The dir Function
- Packages
- Exercise
Exception Handling in Python
- Understanding exceptions
- Run Time Errors
- Handling I/O Exceptions
- try, except, else and finally statement
- raising exceptions with: raise, assert
File Handling in Python
- Working with files
- File objects and Modes of file operations
- Reading, writing and use of ‘with’ keyword
- read(), readline(), readlines(), seek(), tell()
- Handling comma separated value files
Regular expression
- Pattern matching
- Meta characters for making patterns
- re flags
- Use of match() , sub() , findall(), search(), split()