[GRASS-user] RE: Python scripts- How to call external bin [SEC=PERSONAL]

Andrew MacIntyre Andrew.MacIntyre at acma.gov.au
Thu Jun 30 20:13:24 EDT 2011


> From: katrin eggert
> 
> I want to integrate in a Python script a call to an external binary (a small
> fucntion that I have done). What can i use to do this?

Python's subprocess module is the recommended way to do this for a generic external binary.

-------------------------> "These thoughts are mine alone!" <---------
Andrew MacIntyre           Operations Branch
tel:   +61 2 6219 5356     Communications Infrastructure Division
fax:   +61 2 6253 3277     Australian Communications & Media Authority
email: andrew.macintyre at acma.gov.au            http://www.acma.gov.au/

NOTICE: This email message is for the sole use of the intended recipient(s) 
 and may contain confidential and privileged information. Any unauthorized 
 review, use, disclosure or distribution is prohibited. If you are not the 
 intended recipient, please contact the sender by reply email and destroy all 
 copies of the original message.


More information about the grass-user mailing list