Skip to content

Instantly share code, notes, and snippets.

@Jam6808
Created July 25, 2012 16:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jam6808/3177176 to your computer and use it in GitHub Desktop.
Save Jam6808/3177176 to your computer and use it in GitHub Desktop.
Cord=[['upper_left',[-150,50]],[-50,50],[50,50],[-150,-50],[-50,-50],[50,-50],[-150,-150],[-50,-150],[50,-150]]
def get_cord(location):
for c in Cord:
if c[1] == location:
return c[2]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment