Ok this isnt really anything to do with blender, but i cant find anywere else to post for help , so here goes. ive created a very simple programme just for some practice , i’m pretty new to coding so dont expect much lol.
here is the script
import random from datetime import datetime
def Date_checker():
print “Type date for current date”
print “Type month for current month”
print “Type year for current year”
while True:
now = datetime.now()
response = raw_input()
if response == "date":
print now.day
if response == "month":
print now.month
if response == "year":
print now.year
now this works fine , i also know how to add the gui script , but when ever i start the gui exe , its just a blank window.
my question is , how do i add this script to a gui.