Re: help to code...

2013-05-02 Thread Matteo Boscolo
The error is self expleined .. print str(current_month) + '/' + str(current_day) + '/' + str(current_year) +' *'+ * this line have a + at the end,the interpreter need something to add .. so remove it and it will work regards, Matteo Il 02/05/2013 15:50, leonardo selmi ha scritto: dear pyt

Re: [Python-Help] help to code...

2013-05-02 Thread bob gailer
On 5/2/2013 9:50 AM, leonardo selmi wrote: Please in future post plain text. -- http://mail.python.org/mailman/listinfo/python-list

Re: help to code...

2013-05-02 Thread Mark Lawrence
On 02/05/2013 16:37, MRAB wrote: On 02/05/2013 16:26, Mark Lawrence wrote: On 02/05/2013 15:59, Chris Angelico wrote: On Thu, May 2, 2013 at 11:50 PM, leonardo selmi wrote: dear python community, i wrote the following program: print str(current_month) + '/' + str(current_day) + '/' + str(cu

Re: help to code...

2013-05-02 Thread MRAB
On 02/05/2013 16:26, Mark Lawrence wrote: On 02/05/2013 15:59, Chris Angelico wrote: On Thu, May 2, 2013 at 11:50 PM, leonardo selmi wrote: dear python community, i wrote the following program: print str(current_month) + '/' + str(current_day) + '/' + str(current_year) +' '+ print str(curren

Re: help to code...

2013-05-02 Thread Mark Lawrence
On 02/05/2013 15:59, Chris Angelico wrote: On Thu, May 2, 2013 at 11:50 PM, leonardo selmi wrote: dear python community, i wrote the following program: print str(current_month) + '/' + str(current_day) + '/' + str(current_year) +' '+ print str(current_hour) + str(current_minute) + str(current

Re: help to code...

2013-05-02 Thread MRAB
On 02/05/2013 14:50, leonardo selmi wrote: dear python community, i wrote the following program: from datetime import datetime now = datetime.now() current_month = now.month current_day = now.day current_year = now.year current_hour = now.hour current_minute = now.minute current_second = now.se

Re: help to code...

2013-05-02 Thread Chris Angelico
On Thu, May 2, 2013 at 11:50 PM, leonardo selmi wrote: > dear python community, > > i wrote the following program: > > print str(current_month) + '/' + str(current_day) + '/' + str(current_year) > +' '+ > print str(current_hour) + str(current_minute) + str(current_second) > > SyntaxError: invalid

help to code...

2013-05-02 Thread leonardo selmi
dear python community, i wrote the following program: from datetime import datetime now = datetime.now() current_month = now.month current_day = now.day current_year = now.year current_hour = now.hour current_minute = now.minute current_second = now.second print str(current_month) + '/' + str(cur