Python InfoCentre
Python is a Rapid Application Development (RAD) tool, powerful and object-oriented, with a clear syntax. It has built-in support for critical development tasks, including data structures, dynamic typing and dynamic binding. Python can be used instead of Java or C++ to create cross-platform applications, or it can be used to aggregate developed modules into functional wholes. Usable on virtually every platform, including Windows and Linux, Python has a large and growing developer base
Learn how to maximize your productivity when writing Python with this unique Self-Study kit.
This product is the complete training program for writing Python applications! It teaches you novice to advanced techniques. The course has been designed to build essential skills quickly and effectively using hundreds of examples and exercises. The lessons have been divided into small, manageable and practical chunks. The software features a strong Search system and allows you to Bookmark your favourite topics for future reference.
What you get (Course Outline)
Installing Python
- Installing to your Platform
Your First Python Program
- Declaring Functions
- Documenting Functions
- Everything Is an Object
- Indenting Code
- Testing Modules
Native Datatypes
- Introducing Dictionaries
- Introducing Lists
- Introducing Tuples
- Declaring variables
- Assigning Multiple Values at Once
- Formatting Strings
- Mapping Lists
- Joining Lists and Splitting Strings
The Power Of Introspection
- Using Optional and Named Arguments
- Using type, str, dir, and Other Built-In Functions
- Getting Object References With getattr
- Filtering Lists
- The Peculiar Nature of AND and OR
- Using lambda Functions
- Putting It All Together
Objects and Object-Orientation
- Importing Modules Using from module import
- Defining Classes
- Instantiating Classes
- Exploring UserDict: A Wrapper Class
- Special Class Methods
- Advanced Special Class Methods
- Introducing Class Attributes
- Private Functions
Exceptions and File Handling
- Handling Exceptions
- Working with File Objects
- Iterating with for Loops
- Using sys.modules
- Working with Directories
- Putting It All Together
Regular Expressions
- Case Study: Street Addresses
- Case Study: Roman Numerals
- Using the {n,m} Syntax
- Verbose Regular Expressions
- Case study: Parsing Phone Numbers
HTML Processing
- Introducing sgmllib.py
- Extracting data from documents
- Introducing BaseHTMLProcessor.py
- locals and globals
- Dictionary-based string formatting
- Quoting attribute values
- Introducing dialect.py
- Putting it all together
XML Processing
- Packages
- Parsing XML
- Unicode
- Searching for elements
- Accessing element attributes
- Segue
Scripts and Streams
- Abstracting input sources
- Standard input, output, and error
- Caching node lookups
- Finding direct children of a node
- Creating separate handlers by node type
- Handling command-line arguments
- Putting it all together
HTTP Web Services
- How not to fetch data over HTTP
- Features of HTTP
- Debugging HTTP web services
- Setting the User-Agent
- Handling Last-Modified and ETag
- Handling redirects
- Handling compressed data
- Putting it all together
SOAP Web Services
- Installing the SOAP Libraries
- First Steps with SOAP
- Debugging SOAP Web Services
- Introducing WSDL
- Introspecting SOAP Web Services with WSDL
- Searching Google
- Troubleshooting SOAP Web Services
Unit Testing
- Introduction to Roman numerals
- Introducing romantest.py
- Testing for success
- Testing for failure
- Testing for sanity
Test-First Programming
- roman.py, stage 1
- roman.py, stage 2
- roman.py, stage 3
- roman.py, stage 4
- roman.py, stage 5
Refactoring
- Handling bugs
- Handling changing requirements
- Refactoring
- Postscript
Functional Programming
- Finding the path
- Filtering lists revisited
- Mapping lists revisited
- Data-centric programming
- Dynamically importing modules
- Putting it all together
Dynamic functions
- plural.py, stage 1
- plural.py, stage 2
- plural.py, stage 3
- plural.py, stage 4
- plural.py, stage 5
- plural.py, stage 6
Performance Tuning
- Using the timeit Module
- Optimizing Regular Expressions
- Optimizing Dictionary Lookups
- Optimizing List Operations
- Optimizing String Manipulation
If you're serious about learning the full benefits of the Python language this is the one for you.
