Welcome To Snipplr


Everyone's Recent Python Snippets



1 ... 4 5 6 7 8 ... 18
0 2359 posted 14 years ago by chrism
1. create a packagekit instance 2. search for the blender package 3. show the complete name and the package summary (needs python-packagekit package)
0 798 posted 14 years ago by espresso
2 1904 posted 14 years ago by magicrebirth
0 2384 posted 14 years ago by krustyflakes
converts numbers to their english style
0 850 posted 14 years ago by god_of_nothing
1 1237 posted 14 years ago by myoffe
not an answer for everything, but perhaps for basic types
0 898 posted 14 years ago by Geronimrod
first design your app and generate a .UI file using Designer (part of Qt Creator), then run pyuic4 to get it to python, like: pyuic4-2.6 example.ui > example.py then import the window classes in example.py and make your up by subclassing like you...
1 1668 posted 14 years ago by blackthorne
0 1811 posted 14 years ago by arifwidi
as you run chown -R user:group dir
0 1977 posted 14 years ago by silviud
this will display the size of a directory as if you run du -sb dir
0 3503 posted 14 years ago by silviud
Turn a string LikeThis into like_this
1 1143 posted 14 years ago by jarnaldich
0 1067 posted 14 years ago by Affix
0 1128 posted 14 years ago by Affix
0 1164 posted 14 years ago by Affix
0 1088 posted 14 years ago by Affix
0 1142 posted 14 years ago by Affix
1 1286 posted 14 years ago by magicrebirth
1 1576 posted 14 years ago by a1ananth
1 ... 4 5 6 7 8 ... 18