need help using enumerate ??
bearophileHUGS at lycos.com
bearophileHUGS at lycos.com
Fri Aug 22 10:44:12 EDT 2008
Chris:
> """Iterate over your input file, split the line into it's component
> parts
> and then lookup if the first element 'command' is contained in the
> replacement data and if so change the data.
> If you want all input to be saved into your output file, just
> dedent
> the 'outFile.write' line by one level and then all data will be
> saved.
> """
I'd like to have multi-line comments in Python. Your usage of multi-
lines to simulate multi-line comments may be discouraged...
Bye,
bearophile
More information about the Python-list
mailing list