print a msg about which Python version we are using

before the evil "'import site' failed" msg appears.
This commit is contained in:
Stephen Swaney
2005-05-05 04:46:06 +00:00
parent 3469a99f75
commit 2f0cf8cf73

View File

@@ -147,6 +147,9 @@ void BPY_start_python( int argc, char **argv )
* rest of our init msgs.
*/
/* Py_GetVersion() returns a ptr to astatic string */
printf( "Using Python version %.3s\n", Py_GetVersion() );
Py_Initialize( );
PySys_SetArgv( argc_copy, argv_copy );