List of files to be opened



Hello, I am currently writing a script that requires a few different
files to be opened, and examined. What I need to be able to do is use
something like:

filelist = os.system("ls")
<Some way to open the file list and read each file one by one here
>

I cannot think of a way to do this, I could put them in a list of
something of the sort. But that still does not solve the problem of
opening them one by one.

Thanks for all the advice and help.
--
gurusnetwork.org
Gurus'Network - Are you a guru?
.



Relevant Pages

  • Sending HTML file as mail from mail command (mail -s )
    ... of users for which i have developed a script and it is working fine. ... For the body of the mail i am writing into a text file everytime and i ... Mazhar ... Prev by Date: ...
    (perl.beginners)
  • ASP programming with Safari..
    ... I am in the process of writing a web based system that needs to work ... My script has an issue with Safari when I am attempting to execute ... Prev by Date: ...
    (comp.sys.mac.programmer.help)
  • Making dirs
    ... I am writing a script that will organize all the code in the ... Gurus'Network - Are you a guru? ... Prev by Date: ...
    (comp.lang.python)
  • "Type mismatch" error in JScript - newby question
    ... I'm trying to create a simple text file that will allow a string of text to ... The script firstly creates the text file, ... to then open that file for writing into it, I keep on getting a "type ... Prev by Date: ...
    (microsoft.public.scripting.jscript)
  • Re: [WR] round tuits
    ... Jackson Pillock wrote: ... I do, too many projects going, not enough time, priorities lean toward ... I started writing a precinct drama set in a locked psychiatric ward. ... Sent off my script. ...
    (misc.writing)