Looking to start learning Python?

Begin Here

Author: Mike

Python 101: How to Download a File

June 7, 2012 by Mike
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 popular way to download a file is over HTTP using the urllib or urllib2 module. Python also comes with ftplib for FTP […]

Parsing XML with Python using lxml.objectify

June 6, 2012 by Mike
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 sub-package, but I saw it recently and decided I should check it out. To my mind, the objectify module seems to be even […]

wxPython and SQLAlchemy: Loading Random SQLite Databases for Viewing

June 4, 2012 by Mike
I was recently contacted about whether or not there were any wxPython applications out here that could present a SQLite database. As I understood it, they wanted to be able to introspect the database and view the tables, probably using the wx.grid.Grid widget. I find the Grid widget to be very powerful and also rather […]

How to Convert Decimal Numbers to Words with Python

June 2, 2012 by Mike
It may have been a better idea to have called this this article "How to Convert Floats to Words", but since I'm talking about currency, I thought using Decimal was more accurate. Anyway, a couple years ago, I wrote about how to convert numbers to Python. The main reason I'm revisiting this topic is because […]

Weekly Python Links Roundup (6/1/2012)

June 1, 2012 by Mike
It's the first Friday of June and I've read a bunch of new articles this week. From the Vern's rant about getting Python jobs to a review of the web2py cookbook, there's lots of fun things going on in Python land. Here are just a few other articles I thought were interesting: Batchelder talks about […]

Python 201: Decorating the main function

May 31, 2012 by Mike
Last week, I was reading Brett Cannon's blog where he talks about function signatures and decorating the main function. I didn't follow everything he talked about, but I thought the concept was really interesting. The following code is an example based on a recipe that Mr. Cannon mentioned. I think it illustrates what he's talking […]
View More

End of content

No more pages to load

Copyright © 2024 Mouse Vs Python | Powered by Pythonlibrary