
Learn to download and install Python on a Mac from python.org, install Python 2.7.2 and Python 3, use vi to create a hello world program, then test the interpreter.
Demonstrate inheritance in Python by creating a base shape class and a derived rectangle class, using constructors, a two-string method, and a move operation.
Learn to create a sqlite database and a films table in Python using sqlite3, establishing a connection and cursor, then executing a create table statement with title, year, and director.
Learn to send email from Python using smtplib and MIME. Build a sendmail.py script that connects to smtp.gmail.com:587 with starttls and sends to a work address.
Learn to read email with Python by connecting to Gmail via imaplib, logging in, selecting the inbox, fetching the message body, and printing it.
Learn to use the urllib library in Python to retrieve and inspect web pages, print and save contents to a local file, and access header information for parsing later.
Learn html parsing by converting a webpage to plain text, stripping tags, and displaying content using htmllib, urllib to fetch the page, and a formatter for output.
Learn to fetch HTML content with Python and build a screen scraper that extracts and prints stock quotes from Google Finance pages using a span id ref anchored regular expression.
Demonstrate a simple web crawler that visits links from a starting website, parses html, and collects http links using Python and standard libraries.
Create a simple web server with Python's SimpleHTTPServer, running from the command line. Learn to serve local pages like index.html and testpage.html on localhost port 8000.
Learn to start CGI programming with Python by creating a CGI-bin directory and a hello CGI script that outputs HTML to standard output via a CGI HTTP server.
Learn how to process query strings in python using the cgi library's FieldStorage to extract key-value pairs, iterate with a for loop, and output an html response showing the data.
Connect to a SQLite database with Python and CGI, retrieve rows from the films table, and display data as HTML on a web page using an output content type header.
Display database data on a web page by generating HTML with a Python CGI script, fetching SQLite rows, and rendering title, year, and director in a looping output.
Combine CGI programming with database skills to build a film input form that inserts title, year, and director into a database and displays the updated films table.
Learn to use the SAX API in Python to search an XML file for a specific element with a findElement.py program, handling start and end element events and characters.
Explore the Django API by entering data into the films model, saving objects with the Python shell, and using __str__ to display fields, with sql-like querying.
Learn to use Django's administration interface by creating a superuser, registering models in admin.py, and managing data—add, delete, and view films via the admin site.
This Web Programming with Python course takes you through a hands-on guide to object-oriented python web programming, working with multiple types of servers, databases and web frameworks. All that is required to get started is a very basic background knowledge of Python, as instructor Mike McMillan begins these Python web programming tutorials with two chapters of review and then goes step by step through the necessary concepts at every stage of development. You'll get a detailed primer on database programming with Python, installing an SQLite server and performing routine data selections and operations; you'll learn how to interact with FTP and email services using native Python code; see how to process web form data via Python; and learn how to interact with web database applications and utilize XML. Finally, the Python web programming course ends with a chapter on configuring and working with Django, a modern web framework that allows you to create and manage complex database-driven websites. There's not a better course for taking Python concepts and applying them to real world projects.
What You Will Learn:
- How to use Python object-oriented programming techniques within web-based projects, from online databases to complete websites.
- How to install and configure basic web-based databases using Python code.
- The essentials of XML and how it can be used in conjunction with Python projects.
- How to implement and work with Django to manage full database-driven websites.
Who Should I Take This Python web programming Course:
- Anyone with a basic background knowledge of Python and object-oriented programming (OOC) who wants to see how the language can be used for web-specific projects.
- Anyone who wants a better understanding of SQLite, XML, and online database standards.
- Anyone looking to increase their knowledge of the Python programming language and its practical application.
What People Are Saying about this Python web programming course:
"Honestly I thought my Python knowledge would be a little too rusty, but everything was presented very clearly and the review really helped."
-V. Vargas
"Had another python course before this from another teacher but it was pretty thin on projects...this is awesome because it got me to use my coding skills right away...thanks."
-Gene Tredwell
"The Django documentation I found online was a little confusing, and not really complete; Mike is quite thorough, making it easy to get started."
-Markos Psilakis