Mastering Python with Django

Course Features

Course Details

Introduction
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
Language Evolution
Python Reserved Words and Other Rules
Documentation
The String Class
Variables
Data types
Boolean and numeric types
Strings
Lists and Tuples
Sets
Sequences
Looping Through Sequences
Dictionaries
Bit variables
Modules
Reading files
Some file tests
Basic Python Syntax
Introduction
Basic Syntax
Comments
String Values
String Operations
The Format Method
String Slices
String Operators
Numeric Data Types
Conversions
Simple Input and Output
The Print Function
Language Components
Introduction
Control Flow and Syntax
Indenting
The if Statement
Relational Operators
Logical Operators
True or False
Bit Wise Operators
The While Loop
Break and Continue
The for Loop
Collections
Introduction
lists
Tuples
Sets
Dictionaries
Sorting Dictionaries
Copying Collections
Summary
Functions
Introduction
Defining your own Functions
Parameters
Function Documentation
Keyword and Optional Parameters
Passing Collections to a Function
Variable Number of Arguments
Scope
Functions
Passing Functions to a Function
Mapping Functions in a Dictionary
Lambda
Closures
Modules
Standard Modules - Sys
Standard Modules - Math
Standard Modules - Time
The Dir Function
Exceptions
Errors
Run Time Errors
The Exception Mode
Exception Hierarchy
Handling Multiple Exceptions
Raise
Assert
Writing your Own Exception Classes
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
The pickle Module
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 Casses
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
Data Structures
Range
List Comprehensions
Nested List Comprehensions
Dictionary Comprehensions
Dictionaries with Compound Values
Processing Lists in Parallel
Functions
Default Parameters
Variable Arguments
A dictionary of Dictionaries
Specialized Sorts
The Del statement
Time Functionality
Using Generators
Writing GUIs In Python
Introduction
Components and Events
An Example GUI
The Root Component
Adding a Button
Entry widgets
Text widgets
Check Buttons
Radio Buttons
List boxes
Frames
Menus
Binding Events to Widgets
Python And CGI Scripts
Introduction
Html
Html Forms
A Guestbook Application
What can go wrong!
Html tables
The CGI Script
Rendering of The Script
The OS Module
The Environment
Launching Commands
Creating a Process
Directory Commands
Other Process Methods
File Information (metadata)
Miscellaneous OS calls
Walking through Directories
Network Programming
Introduction
A Daytime Server
Clients and Servers
The Client Program
The Server Program
Recap
An Evaluation Client and Server
The Server Portion
A Threaded Server
What You Might Not Already Know
What is an Iterable?
Creating your own Iterators
Generators
The Functions any and all
Thread Fundamentals
Synchronization
Formatting records
Signals
The Python Debugger (2.x)
The with statement
Data compression
Introduction to Django
Introduction
Why Django?
Batteries Included
Django Principles
What you Should Already Know
Course Overview
Instalpng Django
Intro
Choosing your Versions
Instalpng Pip and Python on Windows
Demo: Windows Installation
Instalpng Pip and Python on Mac OS X
Demo: OS X Installation
Instalpng Pip and Python on Linux
Demo: Linux Installation
Virtualenv
Demo: Virtualenv
Instalpng Django
Summary
Starting a Django Project
Introduction
Creating a Django Project
Demo: Creating a Django Project
The Model-Template-View Pattern
Demo: Hello, World!
Mapping URLs
Demo: URL Mapping
Django Views
Demo: Templates
Summary
Models
Introduction
Demo: Adding Models
Django Model Classes
Manage.py Database Commands
Demo: The Admin Interface
The Django Admin Interface
Demo: The Model API
Save and Delete
The Model API
Database Relations
Summary
Adding a User Home Page
Introduction
Demo: Adding Login and Logout Views
More about URL Mappings
Demo: A Template for the Home Page
Authorization with Django
More about Django Templates
Demo: Adding the Home View
URL Mappings for Apps
Demo: Template Inheritance
Template Inheritance
Demo: Login Required
Demo: Showing Game Data on the Home Page
Demo: A Custom Manager Class
The Template Context
Templates: For and Include Tags
Summary
Forms
Introduction
Demo: Adding a HTML Form
Using Django Forms
Demo: Adding Stypng to the Form with Crispy-Forms
Demo: Field Options
Field Options
Demo: Showing Invitations in a List
Demo: Accepting Invitations
Demo: Named Groups
Named Groups in URLs
Summary
Odds and Ends
Introduction
Class-based Views
Demo: Class-based Views
Demo: Adding User Signup
Generic Views
Debugging Django
Demo: The Django Debug Toolbar
Resources
Summary
This course does not have any sections.

More Courses by this Instructor