343 reputation
19
bio website
location Portland, OR
age 45
visits member for 3 years, 9 months
seen Oct 21 '14 at 2:10

Author of the best pure-python dbf library*!

Other possibly interesting packages (all are Python2/3 compatible, as is dbf):

  • pandaemonium -- a daemon framework with good debugging support and a built-in lockfile implementation

  • antipathy -- a file path class that is derived from str/unicode, so can be seamlessly passed to other functions that expect a str/unicode object, while still allowing you to use more intuitive actions

  • scription -- a library to aid writing command line scripts: includes support for separate arguments per sub-command, basic interaction with the user, executing sub-programs, being run SUID, etc

  • xaml -- based on the same idea as haml, only for Python (still in its infancy)

*I'm biased, of course.


Oct
18
comment How to clean up nested try/except/else?
Ah, in that case I completely agree with you. :)
Oct
17
answered How to perform deferred tasks in backend
Oct
17
comment How to clean up nested try/except/else?
A good answer overall, but I have to disagree with your point 1 -- what evidence is there that foo should be doing its own cleanup? foo is signalling that something went wrong, and has no knowledge of what the correct cleanup procedure should be.
Oct
16
answered How to clean up nested try/except/else?
Oct
16
answered Is this a pattern: stand-alone classes
Oct
16
answered Is there a way to prevent variables from changing their type in Python?
Oct
16
answered Is using os.environ to store the value of command line switches pythonic?
Sep
24
awarded  Autobiographer
May
30
answered What's the best way to create a static utility class in python? Is using metaclasses code smell?
May
30
answered The rationale behind Falsy values
Jan
17
awarded  Revival
Aug
23
awarded  Yearling
Jan
20
answered When and why should one create classes at runtime?
Jan
12
comment How to teach basic principles to programmers
While an excellent guide for teaching, one should not have to teach someone already employed as a programmer the rudiments of programming.
Jan
11
comment Explicit or implicit looping?
Agreed. for and while are loop constructs, and so are explicit.
Jan
11
awarded  Citizen Patrol
Jan
11
revised How to populate a private container for unit test?
spelling, grammer
Jan
11
suggested approved edit on How to populate a private container for unit test?
Jan
11
answered How to populate a private container for unit test?
Jan
11
answered How can I learn to effectively write Pythonic code?