Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #18180
| References | <CANtuMdJMfLg4VXhuSowG-Tr1yzioACLWQqJHhgi49w4sJYSNWg@mail.gmail.com> <CAPTjJmp6V3rrh7x8SxS5Mg5r_oEhd2BpNosPFNYwxor=cxZH1A@mail.gmail.com> <CANtuMd+afyrO_Tuh4Vzr4z_pBEMwjwyU61LWEaxa62FBBJCM_Q@mail.gmail.com> |
|---|---|
| Date | 2011-12-30 03:32 +1100 |
| Subject | Re: Help in rotate 13 program |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4224.1325176377.27778.python-list@python.org> (permalink) |
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
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Help in rotate 13 program Chris Angelico <rosuav@gmail.com> - 2011-12-30 03:32 +1100
csiph-web