Skip to content

Instantly share code, notes, and snippets.

@Torxed
Created June 27, 2014 06:36
Show Gist options
  • Save Torxed/3006155ac9a4f6ab7c26 to your computer and use it in GitHub Desktop.
Save Torxed/3006155ac9a4f6ab7c26 to your computer and use it in GitHub Desktop.
from game import gamehandle
from file2 import givexp
def main():
print('1) give xp')
print('2) give 500 xp')
donow = input()
if donow == '1':
givexp(200) #this is in File2.py
if donow == '2':
gamehandle.give_xp(500)
if __name__ == '__main__':
while 1:
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment