Welcome To Snipplr


Everyone's Recent Python Snippets



Client code for sending information to the logging server.
0 2453 posted 11 years ago by JordanRowles
A server that receives information from programs (Name, DateTime, LogType, Data) and writes it to a file with the syntax: LogFile_{program_name}_{ISO-Date}.log
0 2385 posted 11 years ago by JordanRowles
This REST example uses pycurl library to send HTTP request and handle HTTP response so you need to install it to use this example. Once input Word documents are uploaded, you can use the following URI to merge documents on Aspose for Cloud or any sup...
0 2968 posted 11 years ago by johansonkatherine
to open and read a random wikipedia article
0 2227 posted 11 years ago by naveenrn
This file starts at the bottom of the tree and recursively moves all of the files from that tree into another folder. To avoid overwriting files I prepended all of the files with a 9digit number.
0 2489 posted 11 years ago by jlmarks
Code for single threaded python web server
0 2549 posted 12 years ago by ronaklovespython
with layer set prefix option and custom output path
0 2638 posted 12 years ago by janusoo
Photoshop python script export multiple files with each layerSet
0 2739 posted 12 years ago by janusoo
Crea oraciones aleatoriamente a partir de lo que se ponga en las listas part1, part2 y part3
1 2509 posted 12 years ago by a7xrturo
Hacer un pentágono con Turtle
0 2839 posted 12 years ago by a7xrturo
Cuenta vocales en la input.
0 3038 posted 12 years ago by a7xrturo
Contador de palabras en la input.
0 2332 posted 12 years ago by a7xrturo
Calculadora de Área que soporta Cuadrado, Rectángulo, Triángulo, Círculo y Rombo.
0 1421 posted 12 years ago by a7xrturo
A program I wrote for data analysis during my final project at university.
0 1079 posted 12 years ago by dancohen990
Place this snippent in your script, and call it like this: urllib.urlretrieve(getFile, saveFile, reporthook=report) Notice it is the 3rd argument that calls the function on each file that needs to be downloaded.
1 3820 posted 12 years ago by o0110o
A python IP generator works randomly. This project was made out of boredom. Have fun! For non obfuscated code, contact me at [email protected]
1 2423 posted 12 years ago by madfedora
1 1239 posted 12 years ago by MrBlaise
Web crawling Yelp for personalized food recommendations
0 1198 posted 12 years ago by richyeung
Makes working with JSON data, in my eyes, easier in Python. Instead of json_data['key']['key']['key'] Do json_data.key.key.key This can also be modified to work the same way with dict types.
1 1486 posted 12 years ago by plainwreck
A script to parse emails and return HTML suited for email blast programs
0 1355 posted 12 years ago by drydenlong
This is a python script that allows you to scrape historical player names and links from NBA.com historical data
1 1360 posted 12 years ago by asimmittal
This allows you to take a node that has expressions in it and create copies of them that are hard pathed. It will also disable said expression driven write nodes and disable them.
0 1522 posted 12 years ago by throb
This can be used to get arp mac address from a ip address. Remember that MAC addresses are in arp tables (volatile), that's why a ping is done first. But i don't know if timing between ping call and arp call is enought to make sense (of pinging).
0 3494 posted 12 years ago by someguy123
A combinations of 3 technologies. Needed to create Excel files within a Python Flask web framework environment and have it sent via HTTP to client to be handled by the jquery.fileDownload library. Notes: 1. Flask has to set a cookie specified by...
0 2612 posted 12 years ago by doronhor
*Does not check permissions. python cleanFiles.py --directory=/home/win98/tmp/ --ageInDays=2
0 1280 posted 13 years ago by djmornyc
batch accounts import into discuz with python
0 1919 posted 13 years ago by dylanninin
Snippet to show how works optparse module to add optoins when it is called by command line
0 1499 posted 13 years ago by ssoton
This portion of code allows to do bandpass filtering over time series
0 1027 posted 13 years ago by leonpalafox
Snippet showing a simple Flask application to illustrate the topics covered in the "Quickstart".
0 1437 posted 13 years ago by denakitan
snippet to show appindicator problem
0 1294 posted 13 years ago by ssoton