Im learning VPython and im doing a tutorial that i found on the net and i start my program and when i press the red x at the top of the screen the window closes but the pythom shell and the editing window closes aswell, any ideas?
heres my code if that helps:
from visual import *
def main():
sphere(pos=vector(2,4,0), radius=0.20, color = color.white)
sphere(pos = vector(-3,-1,0), radius = 0.15, color = color.green)
if __name__ == '__main__': main()