January 17th, 2005, 02:08 PM
Python in proccessing text file data ?? help me
what advantages Can i get from Python's modules , functions in processing text file data ? Can you list here some advantages , please help me .
January 17th, 2005, 02:14 PM
Are you trying to decide if you should use python? Or have you already decided to use python, but aren't sure what functions/modules would be helpful?
January 17th, 2005, 02:42 PM
i have used Python and i love it , but i want to know something about it , i'm a beginner . help me,Thanks ,
January 17th, 2005, 03:17 PM
Reading files with Python is amazingly easy! After you have read the file in you can manipulate the data as a string, or as a list of strings [lines] depending on which method you used to read the files data .
There are also a few useful modules in the standard library for working with files; os, filecmp, shutil and difflib to name a few.
You can read more about the file() class at the links below, or type help(file) at the Python shell prompt .
January 17th, 2005, 10:59 PM