#include "Python.h"
#include <iostream>
#include <string>
#include <fstream>
#include <sstream>
Go to the source code of this file.
| int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 8 of file main.cpp.
{
return 0;
}
Py_Initialize();
std::string version( fullversion, 0, fullversion.find_first_of(
' '));
std::string vers(version, 0, version.find_first_of(
'.',version.find_first_of(
'.')+1));
PyRun_SimpleString( "print dir()" );
char ch;
PyRun_SimpleString( const_cast<char*>(str.str().c_str()) );
}
else {
}
return 0 ;
}