|
|
|
|
Overview
This two day course covers a handful of various Python advanced topics including high level data
structures, network programming, writing GUI's in Python, and CGI programming. This course is
particularly well suited for programmers who are building application frameworks, integrating Python
with other software, or using Python for distributed computing.
Audience
Students wanting to further their knowledge of Python.
Prerequisites
Students should have taken an introductory Python course or have six months of Python
programming experience.
Course duration
2 Days
Course outline
1. What you should already know about Python
- Introduction
- Language Evolution
- Python Reserved Words and Other Rules
- Documentation
- The string Class
- Variables
- DataTypes
- Boolean and Numeric Types
- Strings
- Lists
- Sets
- Sequences
- Looping Through Sequences
- Dictionaries
- Bit Manipulation
- Functions
- Modules
- Standard Input and Output
- File Input and Output
- Some File Tests
2. Data Structures
- range
- List Comprehensions
- Nested List Comprehensions
- Dictionary Comprehensions
- Dictionaries with Compound Values
- Processing Lists in Parallel
- Specialized Sorts
- Time Functionality
- Generators
3. Writing GUIs in Python
- Introduction
- Components and Events
- The tk Widget
- Button Widgets
- Entry Widgets
- Text Widgets
- Checkbutton Widgets
- Radiobutton Widgets
- Listbox Widgets
- Frame Widgets
- Menu Widgets
- Toplevel Widgets
- Dialogs
4. Python and CGI Scripts
- What is CGI
- HTML
- HTML Forms
- A Guestbook Application
- What Can Go Wrong!
- HTML Tables
- The CGI Script
- Rendering of the Script
5. The os Module
- The Environment
- Creating a Process
- Listing Files
- Other Process Methods
- File Information (Metadata)
- Working with Directories
6. Network Programming
- Networking Fundamentals
- The Client/Server Module
- The socket Module
- The Client Program
- The Server Program
- An Evaluation Client and Server
- A Threaded Server
Appendix A: What You Might Not Already Know
- What is an Iterable?
- Creating Your Own Iterators
- Generators
- The Functions any and all
- Thread Fundamentals
- Synchronization
- Signals
- The Python Debugger
- The with Statement
- Data Compression
Appendix B: Python and Databases
- Introduction
- DBM Operations
- Pickling
- Pickling with Complex Objects
- Shelves
- Using sqlite3
- Executing Queries
- Table Descriptions
- Writing Database Scripts
|
|
|
|
|