Re: start default application for read a pdf from python

2009-09-09 Thread Angelo Ballabio
Thenks for this suggestion, at the end I find this solution import os . . #then where I decide to show the file in the default application I put this #file_name the name I construct with path and all necessary #recor contain all the data of one record end the 4th position

Re: start default application for read a pdf from python

2009-09-08 Thread Albert Hopkins
On Tue, 2009-09-08 at 22:22 +0200, Angelo Ballabio wrote: > 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 r

Re: start default application for read a pdf from python

2009-09-08 Thread Angelo Ballabio
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

Re: start default application for read a pdf from python

2009-09-08 Thread Grant Edwards
On 2009-09-08, Angelo Ballabio 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.startfil