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, w):
>     
>         print "%s" % self.filew.get_filename() # displays file name on
> xterm
>     # create cmd to display image - qiv + filenm
>     self.filenm = "qiv %s" % self.filew.get_filename()
>     # display image
>     os.system (self.filenm)
>
>  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.
>
> Google produces lots of answers, none of which I can understand. What
> alt should I make to the code?
>
> TIA
>
> Barry
>        
>

Reply via email to