> I have a NT Shell bat file that calls a python script to do some processing, > then want that python to return the value to the calling bat file. How do I > do that? import sys sys.exit(errorlevel) where "errorlevel" is an integer