python

12 posts
2009

Tubecaster 3 UI Mockup

Here’s a mockup of the main window for the upcoming Tubecaster 3. The release will include support for multiple downloads at once, playlist download support and built-in media conversion tools. Stay tuned!
Read more

Pre-populate Django ModelForm with Specific Queryset

I just had a situation where I was trying to filter the queryset for a ModelMultipleChoiceField based on the currently logged-on user. I was going crazy trawling through the Django docs and eventually Google.
Read more

Why I Love Django

I’ve used Django for a few small projects in the last year and have absolutely fallen in love with it.
Read more

Tubecaster.org live

I’ve just launched a new website for Tubecaster. The new site was created with Django, with which I’m extremely impressed.
Read more

Python Line Counter

Yesterday I was looking for a Python source code line counter to give me a summary of some source files, but I couldn’t find a free one that would do the job as I wanted. So I created one.
Read more

Tubecaster 2.0.1 Released!

I’m pleased to report that Tubecaster 2.0.1 for Windows is now available for download. Click here to go to the downloads page on the Tubecaster homepage.
Read more

DPAPI user-mode access in Python

In the latest version of Tubecaster I’ve come to the point of needing to give users the option of storing passwords on disk. Needless to say the very thought sent shivers down my spine.
Read more
2008

Python proxy client connections requiring authentication using urllib2 ProxyHandler

I’ve been playing around with trying to pass HTTP connections through a proxy server requiring authentication from Python and after a few hours of hunting around I’ve managed to find enough bits of information to cobble together into a working example.
Read more

Tubecaster: First Linux version

If you’d like to try an early version of my port of Tubecaster to Linux, you can download it here. Please see the readme file within the archive for dependency details.
Read more

New utility: tabs2spaces.py

I’ve just created a Python script that will take a filename on the command line and convert all of its tabs into the given number of spaces (2nd argument). Click here to download.
Read more

Tubecaster Reviewed!

I was pleasantly surprised this morning to find an e-mail in my inbox from a website called “Uptodown.com” informing me that they had tested Tubecaster and thought that their visitors would find it useful.
Read more
2007

MVC / Design Patterns with Python – Links

I’ve been doing a lot of research into design patterns lately, Model-View-Controller (MVC) in particular.
Read more