Python Code Snippets

Jun 07, 2013
PUG-PI it's the Python User Group from the Brazilian State Piauí. Together, we did a Dojo to solve this problem: http://dojopuzzles.com/problemas/exibe/diamantes/ The problem consists..
Jan 17, 2013
Hello, This is a script i wrote for XChat, Hexchat. It will tell you when a user joins #help and it will also tell you if the user is identifed or not. This script only works with Anope..
Jan 05, 2013
Find out if a number is prime. If it isn't, you'll get a list of factors. It's useful for finding GCM and other miscellaneous things about numbers. For example, I was making a 1280x720..
3 comment(s)  ·   ·  Python Snippet
Nov 15, 2012
EDIT: Changed te code to a better version
9 comment(s)  ·   ·  Python Snippet
Sep 12, 2012
The infamous "Hello World!" Python code. It's really just a joke. I wanted to see how this site worked, how to post snippets, etc. etc. I'll be trying to upload more Python Code..
Jun 27, 2012
Capture Web Screenshots easily with the GrabzIt Python API. You will need the free GrabzIt Python Code Library to get started. For more information on the API visit. http://grabz.it/api/python/ Register..
Jun 13, 2012
Python functions that will find the divisor, number of divisors, sum of divisors, totatives, and totient... I'm new to python, this snippet is my reponse to the problem posted HERE: http://www.reddit.com/r/dailyprogrammer/comments/uzx8b/6132012_challenge_64_easy/ div(n)..
0 comment(s)  ·   ·  Python Snippet
Apr 07, 2012
With this module/code you can make your bot able to show random FML entry's to your channel.
Jan 16, 2012
This is the ported version of the mIRC version: http://www.hawkee.com/snippet/9290/ Except this version is made for Python bots. Not yet.
Jan 08, 2012
Python script I made for our clans Knife and pistol server we ran for BF3. Since we are no longer running the server right now, I decided I would put it up here. create an admins.txt..
Jul 21, 2011
# Usage: # gettok(items, number, delimiter) # e.g, gettok("apples|oranges", 1, "|") returns apples # e.g, gettok("apples|oranges", 2, "|") returns..
Jun 09, 2011
a simple number guessing game
Mar 19, 2011
The script just let's you have colored nicks. The customizable part of this script is on this line (a comment is there): Each number indicates the mode in question (equivalent..
Feb 02, 2011
started to learn python yesterday and found after you download the file edit the last line of the code to the correct path
4 comment(s)  ·   ·  Python Snippet
Dec 28, 2010
So, this was basically a test I did for some new functions in Python 3.1. It has really NO purpose, and is just something I worked on when I was bored. Have fun.
Dec 24, 2010
I'm starting a new bot on IRC and I've finished the framework for it, so I decided to post it. It only has the IRC protocol's that I'm going to use, so some are excluded. the variable..
Jun 06, 2010
I'm kind of new to scripting Xchat with python. But this is a simple "On Join" script for Xchat.
Jun 05, 2010
A very simple thing I created. Just copy and paste the code and you're good to go!
2 comment(s)  ·   ·  Python Snippet
May 02, 2010
***READ BEFORE USING*** This is a simple Pounds To Ounces and Ounces To Pounds converter! Type oz2lb() for ounces to pounds. Type lb2oz() for pounds to ounces. ALL NUMBERS YOU ENTER MUST..
May 02, 2010
Okaay... this is how this one works. You simply type something, press enter, and then it will respond to you! You can have your own conversation with a... err... O.o
Mar 27, 2010
Skype Bot :)) need a Skype4Py API and python 2.6
Mar 20, 2010
This script search md5 =) Download Python : http://python.org/ftp/python/2.6.4/python-2.6.4.msi
Mar 17, 2010
The Lockerz Check script written in python 2.6 , this check lockerz ptzplace and when open market play winsound Download Python : http://python.org/ftp/python/2.6.4/python-2.6.4.msi
  1. 1
  2. 2
  3. Next
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.