How to call another file

Kragen Sitaker kragen at pobox.com
Fri May 17 13:52:12 EDT 2002


claird at starbase.neosoft.com (Cameron Laird) writes:
> Or not.  Most Windows users can write
>   import os
>   os.system("notepad")
>   os.system("start mypage.html")
> Depending on the installation of SAS, it might be at least
> as easy, in a superficial way, to invoke it under Windows
> as under Unix.

I thought about "start"; unfortunately, it runs stuff in the
background and returns immediately, which is not what the OP wanted.




More information about the Python-list mailing list