Best practise for passing time as arguments

Andrew Z formisc at gmail.com
Sat Oct 14 12:14:08 EDT 2017


Hello,
 I wonder what are the "best practises" for passing "time" parameters to
functions?
I noticed that sometimes i pass "time" as a str and then start "massaging"
it into delta or i need this time format or that format. Thats quite
annoying and inconsistent.
I use word "time" as a general word for date/time/timedelta types.

Appreciate.



More information about the Python-list mailing list