Welcome To Snipplr
Everyone's Recent Python Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Soma example of validation parentheses in math expressions.
[{()}] - valid
[{){}] - wrong
0
1371
posted 12 years ago by AlexanderRavikovich
Extremely simple snippet showing the basic structure of a Python program.
1
928
posted 12 years ago by denakitan
Tool to download youtube videos with STDIN (PIPE) support for playlist parsers like umph or youParse
(PYTHON3+)
0
980
posted 12 years ago by pantuts
Require the ID3 lib.
Place the script in the directory containing the mp3 files.
0
591
posted 12 years ago by zhyar
I had hear about a method to run a method like an executable, with the arguments being passed in from the commandline. Apparently, Ruby has this with the Rake project. Well, Python has it with [Shovel](http://devblog.seomoz.org/2012/03/shovel-rake-fo...
0
894
posted 12 years ago by pckujawa
Making a python process exit with error code 1 after 30 seconds. Exit is unclean (no garbage is collected, no flushed buffers, etc...).
0
1159
posted 12 years ago by jarnaldich
Capture Web Screenshots easily with the [GrabzIt ](http://grabz.it/) Python API
You will need the free [GrabzIt Code Library](http://grabz.it/api/python/download.aspx) to get started.
1
925
posted 12 years ago by Maximus1983