enter image description hereI'm working with Python 3.4.4 in Windows XP. When I run the .py file using double click on it, it only asks for user name & then terminates the command prompt suddenly. So I can't see final result. Here's my code:
from datetime import datetime
import time
from os import getcwd
import sys
name = input("Your name please: ")
print("Hello",name,",your system is:",sys.platform)
print("Your current work directory is:",getcwd())
print("Currenttime:",time.strftime("%a"),datetime.today(),time.strftime("%p"))
print("Thanks for trying. \u00a9 Gaz does Python")
input()
Can anyone help me, please? I've tried time.sleep()
but that doesn't work too.