Corporate-training-Python with Django

Python Level –

Topic 1: An Introduction to Python

  1. Introductory Remarks about Python
  2. Strengths and Weaknesses
  3. A Brief History of Python
  4. Python Versions
  5. Installing Python
  6. Environment Variables
  7. Executing Python from the Command Line
  8. IDLE
  9. Editing Python Files
  10. Getting Help
  11. Dynamic Types
  12. Python Reserved Words
  13. Naming Conventions

Topic 2: Basic Python Syntax

  1. Introduction
  2. Basic Syntax
  3. Comments
  4. String Values
  5. String Operations
  6. Theformat Method
  7. String Slices
  8. String Operators
  9. Numeric Data Types
  10. Conversions
  11. Simple Input and Output
  12. Theprint Function

Topic 3: Language Components

  1. Introduction
  2. Control Flow and Syntax
  3. Indenting
  4. Theif Statement
  5. Relational Operators
  6. Logical Operators
  7. True or False
  8. Bit Wise Operators
  9. Thewhile Loop
  10. breakand continue
  11. Thefor Loop

Topic 4: Collections

  1. Introduction
  2. Lists
  3. Tuples
  4. Sets
  5. Dictionaries
  6. Sorting Dictionaries
  7. Copying Collections
  8. Summary

Topic 5: Functions

  1. Introduction
  2. Defining Your Own Functions
  3. Parameters
  4. Function Documentation
  5. Keyword and Optional Parameters
  6. Passing Collections to a Function
  7. Variable Number of Arguments
  8. Scope
  9. Functions – “First Class Citizens”
  10. Passing Functions to a Function
  11. Mapping Functions in a Dictionary
  12. Lambda
  13. Closures

Topic 6: Modules

  1. Modules
  2. Standard Modules -sys
  3. Standard Modules -math
  4. Standard Modules -time
  5. Thedir Function

Topic 7: Exceptions

  1. Errors
  2. Run Time Errors
  3. The Exception Model
  4. Exception Hierarchy
  5. Handling Multiple Exceptions
  6. raise
  7. assert
  8. Writing Your Own Exception Classes

Topic 8: Input and Output

  1. Introduction
  2. Data Streams
  3. Creating Your Own Data Streams
  4. Access Modes
  5. Writing Data to a File
  6. Reading Data From a File
  7. Additional File Methods
  8. Using Pipes as Data Streams
  9. Handling IO Exceptions
  10. Working with Directories
  11. Metadata
  12. Thepickle Module

Topic 9: Classes in Python

  1. Classes in Python
  2. Principles of Object Orientation
  3. Creating Classes
  4. Instance Methods
  5. File Organization
  6. Special Methods
  7. Class Variables
  8. Inheritance
  9. Polymorphism
  10. Type Identification
  11. Custom Exception Classes
  12. Class Documentation -pydoc

Topic 10: Regular Expressions

  1. Introduction
  2. Simple Character Matches
  3. Special Characters
  4. Character Classes
  5. Quantifiers
  6. The Dot Character
  7. Greedy Matches
  8. Grouping
  9. Matching at Beginning or End
  10. Match Objects
  11. Substituting
  12. Splitting a String
  13. Compiling Regular Expressions
  14. 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

  1. Installation
  2. Database Models
  3. Views, URLs and Templates
  4. Advanced View and Sample Templates
  5. The Admin Interface
  6. Template Language
  7. Static Files
  8. Cookies and Sessions

 

Topic 2 – Project: Creating a Registration and Login System

  1. Login and Logout
  2. User Registration
  3. Extending the Registration Form

Topic 3 – Working with Databases

  1. Creating forms for database models
  2. Updating Database Models

 Topic 4 – Creating Sample Web Projects