Book Review: web2py Application Development Cookbook
I have read about web2py on several occasions, but never used it myself. Then a few weeks ago, a representative from Packt Publishing contacted me about reviewing their new cookbook about web2py. It’s...
View ArticleParsing XML with Python using lxml.objectify
A couple years ago I started a series of articles on XML parsing. I covered lxml’s etree and Python’s included minidom XML parsing library. For whatever reason I didn’t notice lxml’s objectify...
View ArticlePython 101: How to Download a File
Downloading files from the internet is something that almost every programmer will have to do at some point. Python provides several ways to do just that in its standard library. Probably the most...
View ArticlePython 101: How to submit a web form
Today we’ll spend some time looking at three different ways to make Python submit a web form. In this case, we will be doing a web search with duckduckgo.com searching on the term “python” and saving...
View ArticleA Preview of the New Python.org Website
The Python.org website is finally getting a much needed update and at PyCon 2013, they announced that you can now check out a preview of what it’s going to look like here: http://preview.python.org/...
View ArticlePython 101 – Intro to XML Parsing with ElementTree
If you have followed this blog for a while, you may remember that we’ve covered several XML parsing libraries that are included with Python. In this article, we’ll be continuing that series by taking...
View ArticleBottle – Creating a Python Todo List Web App
Python has lots of web frameworks. Bottle is one of them and is considered a WSGI Framework. It’s also sometimes called a “micro-framework”, probably because Bottle consists of just one Python file...
View ArticleBottle – Adding SQLAlchemy to the Todo List Web App
In this article we will be taking the code from the previous article on Bottle and changing it such that it uses SQLAlchemy instead of just normal SQLite code. This will require you to download the...
View ArticlePython 101: How to Grab Data from RottenTomatoes
Today we’ll be looking at how to acquire data from the popular movie site, Rotten Tomatoes. To follow along, you’ll want to sign up for an API key here. When you get your key, make a note of your...
View ArticleA new Python Kickstarter Project: Advanced Web Development, featuring Django 1.6
Last night I received an email about a new Python-related Kickstarter. The Real Python crew added a new author to write a book entirely about Django 1.6. This is a subject that I keep meaning to get...
View Article