Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #18180 > unrolled thread

Re: Help in rotate 13 program

Started byChris Angelico <rosuav@gmail.com>
First post2011-12-30 03:32 +1100
Last post2011-12-30 03:32 +1100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Help in rotate 13 program Chris Angelico <rosuav@gmail.com> - 2011-12-30 03:32 +1100

#18180 — Re: Help in rotate 13 program

FromChris Angelico <rosuav@gmail.com>
Date2011-12-30 03:32 +1100
SubjectRe: Help in rotate 13 program
Message-ID<mailman.4224.1325176377.27778.python-list@python.org>
On Fri, Dec 30, 2011 at 3:25 AM, Sayantan Datta <kenzo.zombie@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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web