News for hackers. Stuff that matters.
Re:Python on Wheels by harold on Monday August 13, 2012 @04:20PM (#4377932)
I commend the author for building something. I don't see this project solving a problem I have, but it looks to be an honest, if somewhat rough, effort.

A few suggestions:

- review PEP8 [1].

- no need to assign None to a variable before assigning another value

- Try to keep things DRY [2].

- use more descriptive variable names

- as others have stated, spell check your site copy

[1] http://www.python.org/dev/peps/pep-0008/

[2] http://c2.com/cgi/wiki?DontRepeatYourself

* edited for formatting

Re:Python on Wheels by pythononwheels on Monday August 13, 2012 @05:54PM (#4378374)
Pep8 => yes, need to review / rewrite Dry => again yes, working currently on it for generate_* did you look at some genrated code, think this is cleaner, though. The generators are the oldest ..

Thx, khz