Quick Question About Setting Up Pytz
ben+python at benfinney.id.au
Sun Oct 19 04:54:10 CEST 2014
Chris Angelico <rosuav at gmail.com> writes:
> Try learning Python itself, rather than playing around with extension
> packages like pytz.
To be fair, “You need to install ‘pytz’ to work correctly with date and
time values” is correct advice. If the OP doesn't install it early, then
works with timestamps, problems are inevitable — at which point “oh, you
needed to do that first” will be inevitable. It's lose–lose.
It's a sad fact that MS Windows has completely useless timezone support,
and this “install a third-party package” hurdle is a cost that is paid
by all people trying to set up Python on MS Windows.
\ “Nothing is more sacred than the facts.” —Sam Harris, _The End |
`\ of Faith_, 2004 |
More information about the Python-list