[Tutor] How do I run other Windows application in a Python script?

Andrei Kulakov ak@silmarill.org
Tue, 21 Aug 2001 12:31:04 -0400


On Wed, Aug 22, 2001 at 01:31:24AM +0900, Proud Newbie wrote:
> Hello there,
> 
> How can I run other Windows applications in a Python script?
> (for example, I want to ask Notepad to display a .txt file)
> 
> 
> Thanks a lot.
> 
> Proud Newbie
> :-)

os.system("notepad myfile.txt")
> 
> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor

-- 
Cymbaline: intelligent learning mp3 player - python, linux, console.
get it at: cy.silmarill.org