This is a great guide on generator functions in Python, including use cases. The slides from his presentation (available as a PDF from the linked page) may be the best tutorial I’ve seen on the subject so far.
All Items Tagged With “python” (Subscribe to this tag)
Generator Tricks for Systems Programmers
Link bookmarked via Diigo on Thursday, April 24, 2008 @ 15:02 CDT by Daniel Andrlik
Django Pluggables: Browsing through code so you don’t have to.
Link bookmarked via Diigo on Friday, April 18, 2008 @ 09:11 CDT by Daniel Andrlik
This is a neat service that collects reusable and “pluggable” Django applications that you can incorporate into your project. While many reusable apps exist, there previously wasn’t any unified listing, so you spent most of your time searching for Google Code projects that had already been put together.
This is just an awesome resource for developers using Django.
Using Django with Appengine
Link bookmarked via Diigo on Saturday, April 12, 2008 @ 23:30 CDT by Daniel Andrlik
This is a useful guide for navigating some of the specifics of getting a Django project up and running on Google App Engine.
Django Rosetta
Link bookmarked via Diigo on Saturday, April 12, 2008 @ 12:09 CDT by Daniel Andrlik
Via Simon Willison:
This is a real cool Django app that creates an awesome interface to help internationalize your site. Allows the adminstrator, and an optional group of designated translators to read and write your site’s gettext files.
Django Evolution
Link bookmarked via Diigo on Saturday, April 12, 2008 @ 10:29 CDT by Daniel Andrlik
This is one of the more promising projects in progress on the Schema Migration front. Schema evolution can be a bit painful and projects like this for automatically migrating database structure based on the Python model code will be a necessity for long term projects.
Google Jumps Head First Into Web Services With Google App Engine
Link bookmarked via Diigo on Monday, April 7, 2008 @ 21:53 CDT by Daniel Andrlik
Google provides major infrastructure for web app hosting, in direct competition with Amazon’s Web Services. Google’s service is free unless you go over your limits, which look reasonable at the outset. Your app needs to be written in Python (more languages available later), which will be a limitation for some, but as you may have noticed I am quite fond of that language.
That being said, the platform is pretty proprietary, and at this point I don’t have enough info on how easy/difficult it is to get your stuff back out of it if you need to. This is an exciting offering, but one I’ll probably wait and watch on.
FormWizard: multiple-step forms in Django
Link bookmarked via Diigo on Wednesday, March 26, 2008 @ 15:38 CDT by Daniel Andrlik
This is an awesome new feature in Django trunk that I hadn’t heard of before. Django now provides a system for handling multiple step form entry. Can’t wait to try this out.
Django and Comet
Link bookmarked via Diigo on Saturday, March 15, 2008 @ 18:13 CDT by Daniel Andrlik
This is an interesting tutorial on using Comet with Django for realtime JS apps. The example is creating a live chat page.
Quick Post: My Pownces, Let Me Show You Them
Blog Entry posted on Wednesday, March 5, 2008 @ 17:12 CST by Daniel Andrlik
Heh, I had a little fun this afternoon writing a little Django app for my site that will regularly import my public Pownce notes and allow me to display them in the sidebar. It’s really just a modified version of the app I’m using for my Twitter statuses, except that it has some additional logic for handling the different types of Pownce notes.
The thing I’m most happy about is that if I post a public Pownce event, it will display the event with the appropriate microformat markup. Events also include a link to a Google Map of the location, as well as a link to an iCal file for the event. Those last two are provided for free by the Pownce API, so it just seemed to make sense to use them.
Eventually, the look will get redesigned as I redo this site’s design, but for now I’m pleased with it.
Happy Powncing!
pownce-jabber-bot - Google Code
Link bookmarked via Diigo on Monday, March 3, 2008 @ 15:20 CST by Daniel Andrlik
Awesome! Someone has already developed a Jabber Bot for use with Pownce. It’s set up as a reusable Django app, which means that anyone with a Django site could set it up and run the bot. Also, since Pownce is written with Django and the bot is released with an MIT license, Pownce could also officially adopt and implement this application as well.


