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: 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: 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> 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: =?ISO-8859-7?B?zd/q7/Igw+rxMzPq?= 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Message-ID: 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 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.