On 2009-08-12 21:57, Barry Marchant wrote:
Thanks for replies. Putting the ampersand in the 3rd line thus
"qiv %s" % self.filew.get_filename()
did the trick
You may want to investigate the subprocess module, which provides a
lot more functionality than os.system()
http://docs.python.org/l
Thanks for replies. Putting the ampersand in the 3rd line thus
"qiv %s" % self.filew.get_filename()
did the trick
The exercise is to persuade a file selector to display images. I'm learning.
Barry
---
Hadley Rich wrote:
On Wed, 2009-08-12 at 20:42 +1200
On Wed, 2009-08-12 at 20:42 +1200, Barry Marchant wrote:
> My problem is that the python code hangs until the image (qiv) is
> killed whereas I wish the image to stay displayed while the python app
> continues running.
Without knowing what you are trying to do, adding an ampersand to the
end of
Have you tried running it in another thread?
http://linuxgazette.net/107/pai.html
> Hi python experts
>
> After lots of suggestions I have as last tried programming in python.
> I have the following code snippet which when called displays a
> selected image using qiv.
>
> def file_ok_sel(self,
Hi python experts
After lots of suggestions I have as last tried programming in python. I
have the following code snippet which when called displays a selected
image using qiv.
def file_ok_sel(self, w):
print "%s" % self.filew.get_filename() # displays file name on
xterm