How does python call OS?

Steven D'Aprano steve at REMOVE-THIS-cybersource.com.au
Sun Sep 14 09:15:31 CEST 2008


On Sat, 13 Sep 2008 23:51:39 -0700, Siegfried Heintze wrote:

> I see the next sub-chapter on wxWindows for python and the previous
> sub-chapter on TK. This is looking a lot like other scripting languages
> (such as perl and groovy and even java). Can python call anything
> directly or does someone have to write a DLL in C/C++ that calls the
> function first? Thanks!


I'm not sure I understand your question correctly, but Python can call 
external programs in a number of ways. I believe the "best" way to do so 
is with the subprocess module.



-- 
Steven



More information about the Python-list mailing list