Re: minor problem in summary
Andrew Dalke <dalke-DxsMES/F/[email protected]>
| Newsgroups | gmane.comp.lang.perl.qotw.discuss |
|---|---|
| Message-ID | <[email protected]> |
John J. Trammell: > At first, I couldn't get it to run, probably because I was running it > without any command-line options. The error message is: > > File "dalke.py", line 10 > yield ")" * open_count > ^ > SyntaxError: invalid syntax Ah, that means the Python version was too old and didn't the relatively new (about 2-3 year) keyword. > This tidbit (new to me) from perlrun tells the rest: > If the #! line does not contain the word "perl", the program named > after the #! is executed instead of the Perl interpreter. This is > slightly bizarre, Yeah, that is slightly bizarre! I wonder how it got the right interpreter? Perhaps you added a #! line (wasn't in my submission) to something other than in your path? Or ran it on a different machine? Andrew dalke-DxsMES/F/[email protected]