Hi, i exported my python module using py2exe (guide was v. helpful), but now when i run the executable, i get an error telling me to check the logfile. i do, and i see this:
Traceback (most recent call last):
File "perfectnumbers.py", line 13, in ?
EOFError: EOF when reading a line
My program code looks like this-
Can anybody help?Code:#Program to find perfect numbers number = 6 factors =  factor = 2 test = 1 result = 0 perfects =  count = 1 perfs = 3 perfs=input("How many perfect numbers? WARNING: Anything larger than 3 will take a long time. Press Ctrl + C to exit. >>>") while count <= perfs: while factor <= number: test = number/factor if number%factor == 0: factors.append(test) factor = factor + 1 while factors: result = result + factors.pop(0) if result == number: print 'Calculating...' perfects.append(number) print perfects count = count+1 factor = 2 test = 1 result = 0 number = number+1 print 'Task Complete'