Re: [Tutor] [File Input Module]Replacing string in a file

2010-01-28 Thread Dave Angel
vanam wrote: Hi all, As it was suggested before in the mailing list about the query regarding replacing string in the file, i have used the module File input for replacing the string in the file. For understanding and execution purpose, i have just included Python as a string in the file and wa

Re: [Tutor] [File Input Module]Replacing string in a file

2010-01-28 Thread Alan Gauld
"vanam" wrote Suppose if data.txt has string Python written in Font size 72 and when i display the string on the console ie. by below piece of code Text files don't have font sizes, just text. To store formatting information requires that data to be stored (separate to the text) in the fil

[Tutor] [File Input Module]Replacing string in a file

2010-01-28 Thread vanam
Hi all, As it was suggested before in the mailing list about the query regarding replacing string in the file, i have used the module File input for replacing the string in the file. For understanding and execution purpose, i have just included Python as a string in the file and want it to be rep