Python Level –
Topic 1: An Introduction to Python
- Introductory Remarks about Python
- Strengths and Weaknesses
- A Brief History of Python
- Python Versions
- Installing Python
- Environment Variables
- Executing Python from the Command Line
- IDLE
- Editing Python Files
- Getting Help
- Dynamic Types
- Python Reserved Words
- Naming Conventions
Topic 2: Basic Python Syntax
- Introduction
- Basic Syntax
- Comments
- String Values
- String Operations
- Theformat Method
- String Slices
- String Operators
- Numeric Data Types
- Conversions
- Simple Input and Output
- Theprint Function
Topic 3: Language Components
- Introduction
- Control Flow and Syntax
- Indenting
- Theif Statement
- Relational Operators
- Logical Operators
- True or False
- Bit Wise Operators
- Thewhile Loop
- breakand continue
- Thefor Loop
Topic 4: Collections
- Introduction
- Lists
- Tuples
- Sets
- Dictionaries
- Sorting Dictionaries
- Copying Collections
- Summary
Topic 5: Functions
- Introduction
- Defining Your Own Functions
- Parameters
- Function Documentation
- Keyword and Optional Parameters
- Passing Collections to a Function
- Variable Number of Arguments
- Scope
- Functions – “First Class Citizens”
- Passing Functions to a Function
- Mapping Functions in a Dictionary
- Lambda
- Closures
Topic 6: Modules
- Modules
- Standard Modules -sys
- Standard Modules -math
- Standard Modules -time
- Thedir Function
Topic 7: Exceptions
- Errors
- Run Time Errors
- The Exception Model
- Exception Hierarchy
- Handling Multiple Exceptions
- raise
- assert
- Writing Your Own Exception Classes
Topic 8: Input and Output
- Introduction
- Data Streams
- Creating Your Own Data Streams
- Access Modes
- Writing Data to a File
- Reading Data From a File
- Additional File Methods
- Using Pipes as Data Streams
- Handling IO Exceptions
- Working with Directories
- Metadata
- Thepickle Module
Topic 9: Classes in Python
- Classes in Python
- Principles of Object Orientation
- Creating Classes
- Instance Methods
- File Organization
- Special Methods
- Class Variables
- Inheritance
- Polymorphism
- Type Identification
- Custom Exception Classes
- Class Documentation -pydoc
Topic 10: Regular Expressions
- Introduction
- Simple Character Matches
- Special Characters
- Character Classes
- Quantifiers
- The Dot Character
- Greedy Matches
- Grouping
- Matching at Beginning or End
- Match Objects
- Substituting
- Splitting a String
- Compiling Regular Expressions
- Flags
Python Level -2 (Django Framework)
DJango is for creating web applications. That is, software, normally backed by a database, that includes some kind of interactivity, that operates through a browser. A Framework provides a structure and common methods for making this kind of software. It is not for making websites.
Django’s primary goal is to ease the creation of complex, database-driven websites. Django emphasizes reusability and “plug ability” of components, rapid development, and the principle of don’t repeat yourself. Python is used throughout, even for settings, files, and data models. Django also provides an optional administrative create, read, update and delete interface that is generated dynamically through introspection and configured via admin models.
Topic 1 – Introduction to Python Django
- Installation
- Database Models
- Views, URLs and Templates
- Advanced View and Sample Templates
- The Admin Interface
- Template Language
- Static Files
- Cookies and Sessions
Topic 2 – Project: Creating a Registration and Login System
- Login and Logout
- User Registration
- Extending the Registration Form
Topic 3 – Working with Databases
- Creating forms for database models
- Updating Database Models
Topic 4 – Creating Sample Web Projects