Returning a python value to the calling bat file

nobody root at []
Wed Nov 7 18:44:53 CET 2001

> I have a NT Shell bat file that calls a python script to do some
> then want that python to return the value to the calling bat file.  How do
> do that?

import sys

where "errorlevel" is an integer

More information about the Python-list mailing list