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
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
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
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
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
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