jarnaldich


Member since 02/21/2008

3 snippets

3061 profile views

0 Comment(s) Posted

View their favorites

their Tags


Profile

Achievement

first submission:submitting first snipplet

jarnaldich's Recent Python Snippets



« Prev 1 Next »
Making a python process exit with error code 1 after 30 seconds. Exit is unclean (no garbage is collected, no flushed buffers, etc...).
0 945 posted 11 years ago by jarnaldich
Sometimes (ex. django templates section at setting.py), a function expects an absolute path, but it's more practical when developing to refer it to the current file position in our code base. The rel function does exactly that.
0 1026 posted 12 years ago by jarnaldich
Turn a string LikeThis into like_this
1 513 posted 13 years ago by jarnaldich
« Prev 1 Next »