Sorry to not be very specific
My problem is a way to run a default application to read and show a pdf
file from unix or windows, i have a mixed ambient in the office, so I am
try to find a way to start a application to show this pdf file I
generate whith reportlab. actualy I write a file in a directory and then
I have to open the directory find a file and open it, I try to find a
way to do this automatic, in this way then they only have to close the
windows.
sorry I do not see before is only for windows, so this means under unix
system I cant to use.
thenks for the suggestion
Angelo
Grant Edwards ha scritto:
On 2009-09-08, Angelo Ballabio <ang...@email.it> wrote:
I try to start a default application for reading a pdf file
inside the python script.
I try
os.startfile(name,option) but say me startfile not implemented
Are you _sure_ it says startfile not implemented? Or does
it say this:
>>> os.startfile("foo.bar")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'startfile'
--
http://mail.python.org/mailman/listinfo/python-list