This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Created on 23/10/2012 | |
@author: Will | |
''' | |
import pygame | |
# Define some colors |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import autopy as ap | |
from autopy.mouse import LEFT_BUTTON, RIGHT_BUTTON | |
from autopy.key import * | |
from autopy import * | |
import time | |
import random | |
name = 'Will' | |
def hpget(): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Created on 3/11/2012 | |
@author: Will | |
''' | |
import autopy as ap | |
import time | |
import bleh | |
import random | |
from autopy.key import * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Created on 6/11/2012 | |
@author: Will | |
''' | |
import autopy as ap | |
from autopy.mouse import LEFT_BUTTON, RIGHT_BUTTON | |
from autopy.key import * | |
from autopy import * | |
import time |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Created on 18/10/2012 | |
@author: WilliamM artctrl | |
''' | |
import autopy as ap | |
from autopy.mouse import LEFT_BUTTON | |
import time as t | |
def mosmid(): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Created on 10/11/2012 | |
@author: Will | |
''' | |
import urlparse | |
import random | |
def number(): | |
numb = random.randint(1, 80) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import urllib2 | |
from pprint import pprint | |
import json | |
import random | |
import urllib2 | |
import tempfile | |
##A list of dictoniries | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def getDetails(): | |
request = raw_input('would you like to create a new contact (n) or view a contacts information(i)?') | |
if request == 'n': name = raw_input('please enter a name: ') | |
address = raw_input('please enter a address; ') | |
num = raw_input('please enter a phone number: ') | |
return name, address, num | |
people = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Created on 23/11/2012 | |
@author: Will | |
''' | |
import tempfile, json, string, urllib | |
def artcry(): | |
vcurry = [ {"Ingredients" : ('Brown Onion', 'Red Onion', | |
'Garlic', 'Ginger', 'Chick Pea', 'Red Kidney Bean', 'Lentil', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Created on 6/12/2012 | |
@author: Will | |
''' | |
import pylast | |
import pprint | |
API_KEY = 'KEY' | |
API_SECRET = 'SEC' |
OlderNewer