Till my Python books arrive... ;) When embedding Python in a C/C++ program I suppose that Py_Exit was created as an simple way of exiting your C (C++) program and at the same time cleaning up the Python environment? -- Owen F. Ransen http://www.ransen.com/ Home of Gliftic & Repligator Image Generators