Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #42109
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2013-03-28 02:43 -0700 |
| 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> |
| Subject | Re: Altering 2 statements from Python 2.6 => 3.2 |
| From | Νίκος Γκρ33κ <nikos.gr33k@gmail.com> |
| Message-ID | <mailman.3865.1364464432.2939.python-list@python.org> (permalink) |
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 | Next — Previous in thread | Next in thread | Find similar | Unroll 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