MCPcopy
hub / github.com/geekcomputers/Python / printt

Function printt

days_from_date.py:29–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27# User may type 1/2/1999 or 1-2-1999
28# To overcome those we have to process user input and make it standard to accept as defined by calender and time module
29def printt():
30 user_input = user_input1.get()
31 date = process_date(user_input)
32 c = "Day on " + user_input + " is " + find_day(date)
33 label2 = tk.Label(root, text=c, font=("Times new roman", 20), fg="black").place(
34 x=20, y=200
35 )
36
37
38lbl = tk.Label(root, text="Date --", font=("Ubuntu", 20), fg="black").place(

Callers

nothing calls this directly

Calls 3

process_dateFunction · 0.70
find_dayFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected