I have a Python application that requires the program be run in a
specific folder, Win XP. It analyzes and modifies txt files there, and
only txt files. The mods require creating a tmp file. The tmp files
could just as well be an xyz suffix file. That is, it seems as though
they could be almost any non-conflicting type with hundreds of file
types in use. There may be other file types in the folder, possibly
jpg. As such, why would I want to use the tmp files module? With a similar program, it requires reading through all txt files, among other files types, in the folder. It purely analyzes the data in the txt files. Is there some way of doing the reading without the use of os.listdir()? --
Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.01 Deg. W, 39.26 Deg. N) GMT-8 hr std. time) "Truth is mighty and will prevail. There is nothing wrong with this, except that it ain't so." -- Mark Twain Web Page: <www.speckledwithstars.net/> |
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor