Re: else: invalid syntax

2013-08-29 Thread Nagarajan Dharmar Sitha
Thank you Tom Raja -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users

Re: else: invalid syntax

2013-08-29 Thread Tom Lockhart
On 2013-08-29, at 5:33 AM, Nagarajan Dharmar Sitha wrote: > if (os.stat('udacityLastFileNumberForL.txt').st_size == 0): > MaxNumberFile = open("udacityLastFileNumberForL.txt", "w") > self.udacityFileVersionNumberL = 1 > MaxNumberFile.write("DATA_VERSION_CONST

else: invalid syntax

2013-08-29 Thread Nagarajan Dharmar Sitha
if (os.stat('udacityLastFileNumberForL.txt').st_size == 0): MaxNumberFile = open("udacityLastFileNumberForL.txt", "w") self.udacityFileVersionNumberL = 1 MaxNumberFile.write("DATA_VERSION_CONSTANT_M: %s" % self.udacityFileVersionNumberL) MaxNumberFil