Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #79288

Re: Quick Question About Setting Up Pytz

From Ben Finney <ben+python@benfinney.id.au>
Subject Re: Quick Question About Setting Up Pytz
Date 2014-10-19 13:54 +1100
References <afacd3f6-f46e-419b-a765-5d836d8b5f1d@googlegroups.com> <aa08bad3-18c1-43e8-8673-ac8ce7fc4e7e@googlegroups.com> <CAPTjJmqbMO2j--6EYgvuiXR6GEPo=zG6C0CXDN3QzDBvReEbXQ@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.14981.1413687307.18130.python-list@python.org> (permalink)

Show all headers | View raw


Chris Angelico <rosuav@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 |
_o__)                                                                  |
Ben Finney

Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Quick Question About Setting Up Pytz ryguy7272 <ryanshuell@gmail.com> - 2014-10-18 12:54 -0700
  Re: Quick Question About Setting Up Pytz Joel Goldstick <joel.goldstick@gmail.com> - 2014-10-18 16:01 -0400
  Re: Quick Question About Setting Up Pytz Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-10-18 21:20 +0100
  Re: Quick Question About Setting Up Pytz ryguy7272 <ryanshuell@gmail.com> - 2014-10-18 19:44 -0700
    Re: Quick Question About Setting Up Pytz Chris Angelico <rosuav@gmail.com> - 2014-10-19 13:49 +1100
    Re: Quick Question About Setting Up Pytz Ben Finney <ben+python@benfinney.id.au> - 2014-10-19 13:50 +1100
    Re: Quick Question About Setting Up Pytz Ben Finney <ben+python@benfinney.id.au> - 2014-10-19 13:54 +1100
      Re: Quick Question About Setting Up Pytz Rustom Mody <rustompmody@gmail.com> - 2014-10-18 20:16 -0700
        Re: Quick Question About Setting Up Pytz Ryan Shuell <ryanshuell@gmail.com> - 2014-10-19 16:18 -0400
        Re: Quick Question About Setting Up Pytz Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-10-20 09:19 +0100
    Re: Quick Question About Setting Up Pytz Chris Angelico <rosuav@gmail.com> - 2014-10-19 14:10 +1100

csiph-web