I have a C++ server executing Python scripts using just PyRun_SimpleString and it works great -- mostly. However, it doesn't handle more complicated Python commands/constructs, e.g., a 'for' loop. Can someone offer advice? thanks, --Randy