Welcome To Snipplr
Everyone's Recent Snippets Tagged python
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Not only is it really really fast; it's also order preserving and supports an optional transform function
0
1071
posted 13 years ago by magicrebirth
See: http://docs.python.org/library/smtpd.html
You might use other port instead 25.
0
928
posted 13 years ago by wnasich
Hi Guys,
I had a job to remove all kinds of comments from the Lua file. I tried to find a usable Python script to this on the net, but Google did not help.
Therefore, I made one. This script recognizes all types of comments such as single and mul...
0
1655
posted 13 years ago by Woodoo
A simple Ajax database app built with the Karrigell web framework for Python; PyDbLite, a non-SQL Python database engine; and JQuery in the browser
0
643
posted 13 years ago by jcastell
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
1085
posted 13 years ago by blackthorne
this will display the size of a directory as if you run du -sb dir
0
2688
posted 13 years ago by silviud
Function (algorithm) that returns all prime numbers up to n.
0
531
posted 14 years ago by Doctor_Who
"Whatever you do will be insignificant, but it is very important that you do it." --Mahatma Gandhi
1
1191
posted 14 years ago by ksaver