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 -- http://mail.python.org/mailman/listinfo/python-list