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


Groups > comp.lang.python > #42109

Re: Altering 2 statements from Python 2.6 => 3.2

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <nikos.gr33k@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.033
X-Spam-Evidence '*H*': 0.93; '*S*': 0.00; 'subject:Python': 0.06; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'sure.': 0.16; 'cc:addr:python.org': 0.22; 'print': 0.22; 'header:User-Agent:1': 0.23; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'gets': 0.27; 'header:In-Reply- To:1': 0.27; 'returned': 0.30; '3.x': 0.31; 'calculated': 0.31; 'subject:from': 0.34; 'but': 0.35; 'received:google.com': 0.35; 'sure': 0.39; 'letters': 0.60; 'here:': 0.62; 'believe': 0.68; 'greek': 0.84
X-Received by 10.49.72.225 with SMTP id g1mr1170265qev.36.1364463830149; Thu, 28 Mar 2013 02:43:50 -0700 (PDT)
Newsgroups comp.lang.python
Date Thu, 28 Mar 2013 02:43:50 -0700 (PDT)
In-Reply-To <mailman.3842.1364438381.2939.python-list@python.org>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=94.68.72.6; posting-account=DYJQ-woAAACEPH85Au2BhUVfFTfSfVa4
References <73865aec-bee1-4aea-b8b4-28a4cad24473@googlegroups.com> <mailman.3831.1364424914.2939.python-list@python.org> <c286bc08-33b0-4d54-8396-4c3a80cd49d3@googlegroups.com> <mailman.3836.1364437687.2939.python-list@python.org> <mailman.3842.1364438381.2939.python-list@python.org>
User-Agent G2/1.0
X-Google-Web-Client true
X-Google-IP 94.68.72.6
MIME-Version 1.0
Subject Re: Altering 2 statements from Python 2.6 => 3.2
From Νίκος Γκρ33κ <nikos.gr33k@gmail.com>
To comp.lang.python@googlegroups.com
Content-Type text/plain; charset=ISO-8859-1
Cc python-list@python.org
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 <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Message-ID <mailman.3865.1364464432.2939.python-list@python.org> (permalink)
Lines 7
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1364464432 news.xs4all.nl 6873 [2001:888:2000:d::a6]:44831
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:42109

Show key headers only | View raw


I'am just tryign to print the date with proper greek letters as it uses to work with Python v2.6 

date gets calculated here: 

date = ( datetime.utcnow() + timedelta(hours=2) ).strftime( '%y-%m-%d %H:%M:%S' ) 

I'am not sure but i believe that the decode must be taken out in python 3.x because objexts returned in unicoide now, but i'am not sure. 

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


Thread

Altering 2 statements from Python 2.6 => 3.2 Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-03-27 13:18 -0700
  Re: Altering 2 statements from Python 2.6 => 3.2 Chris Angelico <rosuav@gmail.com> - 2013-03-28 09:55 +1100
    Re: Altering 2 statements from Python 2.6 => 3.2 Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-03-27 19:16 -0700
      Re: Altering 2 statements from Python 2.6 => 3.2 Chris Angelico <rosuav@gmail.com> - 2013-03-28 13:28 +1100
        Re: Altering 2 statements from Python 2.6 => 3.2 Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-03-27 19:39 -0700
        Re: Altering 2 statements from Python 2.6 => 3.2 Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-03-27 19:39 -0700
          Re: Altering 2 statements from Python 2.6 => 3.2 Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-03-28 02:43 -0700
          Re: Altering 2 statements from Python 2.6 => 3.2 Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-03-28 02:43 -0700
    Re: Altering 2 statements from Python 2.6 => 3.2 Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-03-27 19:16 -0700

csiph-web