NisHera
9 years agoValued Contributor
python error in datetime
have a function
import datetime def myfun(): string_date = '2016-11-03' myTime =datetime.datetime.strptime(string_date, "%Y-%m-%d")
in TC 12 (nothing else in the script)
This gives me error:-
TypeError attribute of type 'NoneType' is not callable
this dos not happen only for first time I open TC
any Idea?