Le Sun, 8 Feb 2009 19:05:59 -0800,
Hi a écrit :
> Sorry for being confusing on my last e-mail. I will try to clarify my
> intents a bit further. In short, I want to be able to read the data in the
> file as well as launch document viewer in Python. For one of the files I
> want to read the data f
Hi wrote:
Re: Question on how to open other programs and files
Here is one way;
#!/usr/bin/python
import subprocess
print "Starting Adobe Reader "
def startReader():
myreader = "acroread"
fname = "test.pdf"
print "Loading ", fname
subprocess.call([myreader, fn
Re: Question on how to open other programs and files (Alan Gauld)
Sorry for being confusing on my last e-mail. I will try to clarify my
intents a bit further. In short, I want to be able to read the data in the
file as well as launch document viewer in Python. For one of the files I
want to read t