Py11  v0.2
This is a minimalist Python wrapper for C++11.
Python utils

Utility functoins. More...

Functions

void py::set_arg (int argc, char *argv[])
 pass the args to set the correct sys.path in python
 
void py::print_err (int set_sys_last_vars=1)
 py print err to stderr. More...
 
obj py::import (const char *module_name)
 py import. More...
 

Detailed Description

Utility functoins.

Function Documentation

obj py::import ( const char *  module_name)
inline

py import.

Exceptions
val_err

Definition at line 33 of file _sys.hpp.

void py::print_err ( int  set_sys_last_vars = 1)
inline

py print err to stderr.

print python's error message and stack information.

Definition at line 24 of file _sys.hpp.