Over

155,000

Africa & Middle East

7Days
10.00 A.M - 10.00 P.M

Call us

Advanced Python

Course Objectives

Upon completion of this course, students will be able to:

Write Network Programs in Python
Write CGI programs in Python
Write GUI programs in Python
Differentiate between the proper use of Python collection classes
Use advanced data structures
Become proficient in the use of bit variables
Use Python list comprehensions
Use Python generators
Use the most popular Python modules
Create and execute processes

Course Outline

Chapter 1: What You Should Already Know About Python
Introduction
Language Evolution
Python Reserved Words and Other Rules
Documentation
The string Module
Variables
Data Types
Boolean and Numeric Types
Strings
Lists
Sets
Sequences
Looping Through Sequences
Dictionaries
Bit Manipulation
Functions
Function Arguments
Modules
Standard Input and Output
File Input and Output
Some File Tests
Chapter 2: Data Structures
List Comprehensions
Nested List Comprehensions
Dictionary Comprehensions
Dictionaries with Compound Values
Processing Lists in Parallel
Specialized Sorts
Time Functionality
Generators
Chapter 3: Writing GUIs in Python
Introduction
Components and Events
An Example GUI
The Tk Widget
Button Widgets
Entry Widgets
Text Widgets
Checkbutton Widgets
Radiobutton Widgets
Listbox Widgets
Frame Widgets
Menu Widgets
Toplevel Widgets
Dialogs
Chapter 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
Chapter 5: The os Module
The Environment
Creating a Process
Listing Files
Other Process Methods
File Information (Metadata)
Working With Directories
Chapter 6: Network Programming
Networking Fundamentals
The Client/Server Model
The socket Module
A Client Program
A 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

APPLY TO COURSE