PDA

View Full Version : How do I call a python script from Visual Build Professional?


pyang
12-23-2003, 04:59 AM
Hi,

Does anyone has any idea how to get Visual Build Professional to read and execute a python script?

kevina
12-23-2003, 11:50 PM
If you have Python installed on the machine running Visual Build Pro, it should be as simple as adding a Run Program step, and adding the script name (ending in .py??) as the command.

Basically anything you can run from the command prompt should be very easy to invoke from Visual Build Pro with a Run Program step.

See this url: http://python.scripting.com/runAScript for an example of running a python script on Windows from a command-prompt (found with a simple Google.com search).

Kevin