Python News

The Top 10 Pygame Tutorials

submitted by AlSweigart
[link] [comment]

Screencast: An Introduction To the Deform Form Generation Library (using Pylons)

submitted by mcdonc
[link] [1 comment]

DjangoDash and Drinkfindr

submitted by gst
[link] [comment]

Will Larson: DjangoDash and Drinkfindr

A few weekends ago I spent the day locked in furious battle with friend and Monocle Studios co-founder Luke Hatcher. The event was DjangoDash, an event where teams of 1-3 spend a weekend trying to create a site from scratch. We went into the weekend with very little preparation. Luke went into the weekend with a partner who once fancied himself a Django blogger but had subsequently forgotten everything about Django (that would be me).

Lop-sided competence and initial disorganization proved surmountable as cheery camaraderie manifested into our site, DrinkFindr. DrinkFindr is a pretty basic site for creating, rating and discovering mixed drinks based on ingredients and names. It probably won't shake your world, but it can give you a hangover. Most shockingly, the Monocle Studios team pulled through to get 10th place in the DjangoDash rankings. We'll use the staggering rewards of our victory for the benefit of mankind. Well, I'm probably going to Crepes on Cole for breakfast, anyway. That might benefit mankind.

And unlike the DjangoDash website, Drinkfindr actually still serves pages. Just saying.

Scaffolding template tags for Django forms

submitted by gst
[link] [comment]

Django development with PyCharm: new video on new JetBrains TV

submitted by gst
[link] [comment]

I need tips on hooking Gui wrapper onto a CLI.

Ive been a programmer for many years and have never actually written an application with a gui. The app I am writing is fully capable of being 100% CLI, but people likely wont use it if it is, so a Gui is a Must.

I noticed the python app hellanzb as a pretty good example. It is a fully capable CLI interface which uses curses. But it also has a few Gui wrappers like lottanzb for example. Which just hooks onto the CLI. Ive looked through the source of both, but its not really sinking in on how lottanzb hooks onto hellanzb. Im not sure if hellanzb allows for a gui wrapper and accepts properly defined commands, or lottanzb just plays a person and inputs key combinations normal humans would.

Any tips, suggestions, recommended readings would be great. Thank you.

submitted by coned88
[link] [4 comments]

Are there any packages that take advantage of Python 3's new function annotation syntax (for documenting parameters or type-checking)?

This is what I'm referring to: http://python.org/dev/peps/pep-3107/

Seems like a cool new feature, but I haven't seen any packages that use it, or any attempts to standardize how it should be used.

submitted by roger_
[link] [comment]

Python: Using Decorators for Flexible Prompts

submitted by iamjack
[link] [1 comment]

Using Decorators for Flexible Prompts

submitted by iamjack
[link] [comment]