Help in rotate 13 program
Chris Angelico
rosuav at gmail.com
Thu Dec 29 11:32:55 EST 2011
On Fri, Dec 30, 2011 at 3:25 AM, Sayantan Datta <kenzo.zombie at gmail.com> wrote:
> did that, but the output file is still empty? Does the fault lie somewhere
> else?
I'm not sure if it's a copy-paste problem, but check your indentation:
your "if __name__" line seems to be indented, it should be flush left.
Indentation makes it part of the function, so your script will define
a function and never call it.
ChrisA
More information about the Python-list
mailing list