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: 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: <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 Cc: "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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 On Sun, Oct 19, 2014 at 1:54 PM, Ben Finney wr= ote: > Chris Angelico writes: > >> Try learning Python itself, rather than playing around with extension >> packages like pytz. > > To be fair, =E2=80=9CYou need to install =E2=80=98pytz=E2=80=99 to work c= orrectly with date and > time values=E2=80=9D is correct advice. If the OP doesn't install it earl= y, then > works with timestamps, problems are inevitable =E2=80=94 at which point = =E2=80=9Coh, you > needed to do that first=E2=80=9D will be inevitable. It's lose=E2=80=93lo= se. > > It's a sad fact that MS Windows has completely useless timezone support, > and this =E2=80=9Cinstall a third-party package=E2=80=9D 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