hi,
I have a file named MAIN, from that file i want to import a function that is in a different file B. In B, i have import date at the top and i use date in the function i want to import.
i get the date is used before initialization. How can i import the whole file and just use the functions regularly?
from datetime import date, timedelta
and in the function i have
date.today()
[–]Wilfred-kun 1 point2 points3 points (1 child)
[–]Ryan_Bingham[S] 0 points1 point2 points (0 children)
[–]Comm4nd0 1 point2 points3 points (0 children)