What's wrong with my for loop?
Mindy
csshi99 at yahoo.com
Tue Nov 5 19:07:30 EST 2002
Hey, I got such errors in runing my small program. The
attachment is my program named ld.stat.py and the
following is the error:
% ld.stat.py
File "ld.stat.py", line 23
for name in names
^
SyntaxError: invalid syntax
So could someone look at my codes and figure out the
bug for me? Thanks! And I still have another basic
questions about Python.
As there are no {} working as the limitators of
functions or blocks(as in C or Perl), what we can
control this is only by indentation, right?
=====
Cheers
-Mindy
__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/
=====
Cheers
-Mindy
__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ld.stat.py
Type: application/x-unknown
Size: 779 bytes
Desc: ld.stat.py
URL: <http://mail.python.org/pipermail/python-list/attachments/20021105/9432d27e/attachment.bin>
More information about the Python-list
mailing list