Created
June 27, 2014 06:36
-
-
Save Torxed/3006155ac9a4f6ab7c26 to your computer and use it in GitHub Desktop.
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
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