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


Groups > comp.lang.python > #79289

Re: Quick Question About Setting Up Pytz

Path csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'third-party': 0.04; 'plenty': 0.07; 'subject:Question': 0.07; 'advice.': 0.09; 'useless': 0.09; '\xe2\x80\x94': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'windows': 0.15; 'finney': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'in...': 0.16; 'itself,': 0.16; 'rough': 0.16; 'sad': 0.16; 'do,': 0.16; 'language': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'cc:addr:python.org': 0.22; 'install': 0.23; 'cc:2**0': 0.24; 'extension': 0.26; 'first,': 0.26; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'correct': 0.29; 'chris': 0.29; "doesn't": 0.30; 'message-id:@mail.gmail.com': 0.30; 'subject:About': 0.31; 'writes:': 0.31; 'anyone': 0.31; "i'd": 0.34; 'basic': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'problems': 0.38; 'ben': 0.38; 'needed': 0.38; 'fact': 0.38; 'pm,': 0.38; 'rather': 0.38; 'itself': 0.39; 'support,': 0.39; 'even': 0.60; 'business': 0.70; 'inevitable': 0.84; 'subject:Quick': 0.84; 'timestamps,': 0.84; 'to:none': 0.92; 'subject:Setting': 0.96
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type:content-transfer-encoding; bh=6xyzWrNa9YUbpXE5YRmNTRTto/dDfHbjNR8WKjB/HAE=; b=oGg51MzEd+7D67w+kwLGKzaz3G2wAUIDSzoIqfLWi/c+bXuhep36nMNd8eZ0drrQTO Z2Q7P/dzCsvL//NCgIZq2kWoyBUu5GJHJS/rx13ZrG9uzWRnhj/KuX4Nd/ZgdHNee68Z RJLrh7HFJrCz1DE5IOWqPYqA/DZO/Q+Sni+y6z5y9OgOrpe43jlwAWf+6TqlmHrgWj5k pU9TERW7faBsPQfx7Aew6LJMK0IX7U7YiYsTYOnWTuWBpRZdzfeIKpiEDVmCPbcNQjT+ KLF/3phT0lw1GF2BGzXNlHQtCXHkRSP9lu1AHq59JX1fGZSb2ZJ4jJU7ERAkZqIIq6d/ ShWw==
MIME-Version 1.0
X-Received by 10.50.61.137 with SMTP id p9mr8889730igr.34.1413688254005; Sat, 18 Oct 2014 20:10:54 -0700 (PDT)
In-Reply-To <85iojgn50t.fsf@benfinney.id.au>
References <afacd3f6-f46e-419b-a765-5d836d8b5f1d@googlegroups.com> <aa08bad3-18c1-43e8-8673-ac8ce7fc4e7e@googlegroups.com> <CAPTjJmqbMO2j--6EYgvuiXR6GEPo=zG6C0CXDN3QzDBvReEbXQ@mail.gmail.com> <85iojgn50t.fsf@benfinney.id.au>
Date Sun, 19 Oct 2014 14:10:53 +1100
Subject Re: Quick Question About Setting Up Pytz
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.14982.1413688263.18130.python-list@python.org> (permalink)
Lines 28
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1413688263 news.xs4all.nl 2838 [2001:888:2000:d::a6]:42438
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:79289

Show key headers only | View raw


On Sun, Oct 19, 2014 at 1:54 PM, Ben Finney <ben+python@benfinney.id.au> wrote:
> 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.

That's a rough business to be in... I mean... that's unfortunate.
However, I'd still advise anyone to learn the language itself first,
even if that means a rule like "avoid working with international or
historical time". There are plenty of other things Python can do, even
just with a basic Windows installation.

ChrisA

Back to comp.lang.python | Previous | Next — Previous 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