| 468 | } |
| 469 | |
| 470 | void from_module_import_all(const char* module_name) |
| 471 | { |
| 472 | char buffer[strlen(module_name) + 20]; |
| 473 | snprintf (buffer,strlen(module_name) + 20, "from %s import *", module_name); |
| 474 | PyRun_SimpleString(buffer); |
| 475 | } |
| 476 | |
| 477 | /// import python module and export identifiers in Singular namespace |
| 478 | BOOLEAN python_import(leftv result, leftv value) |