[Tutor] green brackets?

Paulo Nuin nuin at genedrift.org
Wed Jul 11 22:56:34 CEST 2007


Hi

f.write("n\") should be

f.write("\n")

Paulo

elis aeris wrote:
> def mousemove(x,y):
>     f.write("n\")
>     f.write("command" + " =" + " mousemove\n")
>     f.write("parameter_1 = " + str(x) + "\n")
>     f.write("parameter_2 = " + str(y) + "\n")
>     f.write("n\")
>
>
>
>
>
> for some reason that last bracket of the 2nd and last line line in 
> IDLE  are green.\
> why is that?
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>   



More information about the Tutor mailing list