>>> That also pops up a command shell window, which may not be
>>> desirable. On Windows, there is
>>> os.startfile("someknown.type")
Ack. You're right. I get them mixed up. And os.startfile is Windows
only.
Sorry.
rd
--
http://mail.python.org/mailman/listinfo/python-list
In article <[EMAIL PROTECTED]>,
Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
>In <[EMAIL PROTECTED]>,
>BartlebyScrivener wrote:
>
It would probably break like mad under *nix
>>
>> I bet it would work the same way on linux or os x; it's the equivalent
>> of double-clicking on the file.
In <[EMAIL PROTECTED]>,
BartlebyScrivener wrote:
>>> It would probably break like mad under *nix
>
> I bet it would work the same way on linux or os x; it's the equivalent
> of double-clicking on the file.
No it doesn't work. Double clicking is not an OS thing but a a GUI thing.
Ciao,
>> It would probably break like mad under *nix
I bet it would work the same way on linux or os x; it's the equivalent
of double-clicking on the file.
rd
--
http://mail.python.org/mailman/listinfo/python-list
BartlebyScrivener wrote:
> don't know Jython, but in Python, I think you want:
>
> import os
>
> os.system('mytextfile.txt')
>
> Whatever file you reference should open in the application associated
> with it. At least that's the way it works on Win XP
>
> rd
I didn't think about that. It would pr
don't know Jython, but in Python, I think you want:
import os
os.system('mytextfile.txt')
Whatever file you reference should open in the application associated
with it. At least that's the way it works on Win XP
rd
--
http://mail.python.org/mailman/listinfo/python-list
I'm writing a GUI application in Jython which takes a database text
file and performs some operations on the data, finally spitting out a
group of CSV files.
I generate a log file and several CSV files and I thought it would be
helpful if I could add a button the user could click on to
automatical