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!
python
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. It seemed like something which should be so simple, but there was no obvious way to do it. Eventually I found the answer, and it IS simple!
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. While I always insist that I’m not a language or framework zealot I will quite happily and unashamedly push the Python / Django team wherever possible. Here are some of the reasons why.
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.
The new site also contains bug reporting and feature request links.
-Wayne
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. And you can have it for free (GNU GPL) – download it here:
Sample usage:
cmd> plc.py tubecore.py tubewx.py tubewxdialogs.py Input files: tubecore.py tubewx.py tubewxdialogs.py Total lines: 1510 Code lines: 1111 Comment lines: 139 Blank lines: 260
-Wayne