I was trying to run a program within another program using the import feature. It runs, however, it bypasses my function and just runs the other program.
import ex35
def beginning():
print "you have three door choices. door a,b,c"
door=raw_input("> ")
if door=="c":
ex35.start(door)
elif door=="a":
print "do i have to put stuff down?"
else:
print "i finally got it to work"
beginning()
if __name__ == "__main__":
# stuff only to run when not called via 'import' here
main()