Altering 2 statements from Python 2.6 => 3.2

Νίκος Γκρ33κ nikos.gr33k at
Thu Mar 28 10:43:50 CET 2013

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. 

More information about the Python-list mailing list