On 5/16/07, Luke Paireepinart <[EMAIL PROTECTED]> wrote:
> Not Quite, I think.
I'm sorry, I missed the fact about using the tempfile. I parsed Mike's
post being a sole question about sending a var-args string to
os.command().
--
- Rikard - http://bos.hack.org/cv/
__
Rikard Bosnjakovic wrote:
> On 5/15/07, Mike Hansen <[EMAIL PROTECTED]> wrote:
>
>
>> Should the os.system command be something like
>> command = "dsspcmbi -v %s %s" %(Pdb, temp1)
>> os.system(command)
>>
>> ?
>>
>
> Yes.
>
Not Quite, I think.
>>> import tempfile
>>> help(tempfile.Temp
On 5/15/07, Mike Hansen <[EMAIL PROTECTED]> wrote:
> Should the os.system command be something like
> command = "dsspcmbi -v %s %s" %(Pdb, temp1)
> os.system(command)
>
> ?
Yes.
--
- Rikard - http://bos.hack.org/cv/
___
Tutor maillist - Tutor@pytho
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Alan Gauld
> Sent: Tuesday, May 15, 2007 1:44 AM
> To: tutor@python.org
> Subject: Re: [Tutor] File access by os.system
>
>
> "lohith madireddy" <[EMAIL P
"lohith madireddy" <[EMAIL PROTECTED]>
>I have files named 'x.pdb', 'y.pdb',. in one directory. I am
> using python to read the files in that directory and do a system
> operation on each of the file using os.system. When I use this, it
> always gives an error saying 'could not read the