Python language Course content
Duration : 5 days
Operating System : Linux / Windows 7 ( Professional or
Enterprise ) - 64 Bit
Python Version : 3.4.x
-------------------------------------------------------------------------
Python Topics:
Getting Started
• Python : Usage and relevance
• Variables, Keywords
• Built-in Functions
• Strings : Quotation variants and implications, raw string literals
• String operators and methods
• Numeric literals, math operators and expressions
• Input / Output
• String formatting
Flow Control
• White space, how it matters ?
• if and elif, Conditional expressions
• Relational operators
• Boolean operators while loops
• Alternate ways to exit a loop
Sequences
• Sequences – Relevance
• Lists, Tuples
• Functions and Methods
• Indexing and slicing
• Iterating through a sequence
• Functions for important sequences
• Using enumerate()
• Generator expressions
Working with files
• Text file I/O
• Read, Write : text file
• Different modes of File I/O
• Binary Files Handling
Dictionaries and Sets
• Dictionaries : What's about and usage context
• Creating and operate upon dictionaries( extracting values, iteration)
• Source data from file into a dictionary
• Counting with dictionaries
• Sets : What's about and usage context
• Creating and working with sets
Functions
• Function definition, parameters
• Variable scope - Global variables
Sorting
• Sorting overview
• The sorted () function
• Lambda functions
• Sorting dictionaries
• Sorting in reverse
• Sorting lists in place!
Errors and Exception Handling
• Syntax errors, Exceptions
• Handling exceptions with try
• Ignoring exceptions
• Using else
• Cleaning up with finally
Modules
• What is a module?
• The import statement
• Where did the .pyc file come from?
• Module search path
• Creating Modules & Packages
Regular Expressions ( Basics )
• RE syntax overview
• Regular expression metacharacters
• RE Objects Searching for patterns
• Replacing text
• Replacing with a callback
• Splitting a string
Django Topics:
1. Whats Django about ?
2. Installation and configuration of Django
3. How to Create a Django project ?
4. Creation of an Application and Life Cycle issues
5. Administration Interface management
6. MVC – Django implementation
7. Views Creation and URL Mapping
8. Models
9. Forms Processing
10. File Upload and Database Interface
11. Setting up Apache and cookies handling
12. Django sessions Management & setting up Cache in Database )
13. Django Ajax