Calling Other Programs into Python for Processing?

Discussion created by BrokenLegMike on Jun 23, 2011
Latest reply on Jun 23, 2011 by BrokenLegMike
Hey everyone,

I am at a stage with Python where I would like to explore using it with other applications. In my case, I am automating a number of maps and editing layers and feature classes in the process. Before I started doing this stuff through python, I had a number of manual processes. One of which is to use an .rpl program (find and replace program) when updating metadata .xml's in order to import them into my feature class metadata.

My question is, can I set a code block in python, to call the .rpl program (or any other program for that matter) to do some processing while my script runs? I hope this makes sense....

I'd like my whole python script basically do this:

1. Make some changes in my .mxd
2. Make some changes in some feature classes
3. Update my xml files by calling in the .rpl file to do this for me