Link to the Python binding documentation from the Python vocabulary

db4
Benjamin Pollack 2014-11-04 18:38:10 -05:00 committed by Doug Coleman
parent f6d28bebc8
commit 3359e9716b
1 changed files with 2 additions and 0 deletions

View File

@ -53,3 +53,5 @@ $nl
{ $notes "Sometimes the embedded python interpreter can't find or finds the wrong load path to it's module library. To counteract that problem it is recommended that the " { $snippet "PYTHONHOME" } " environment variable is set before " { $link py-initialize } " is called. E.g:" }
{ $code "\"C:/python27-64bit/\" \"PYTHONHOME\" set-os-env" }
{ $warning "All code that calls Python words should always be wrapped in a " { $link with-destructors } " context. The reason is that the words add references to Pythons internal memory heap which are removed when the destructors trigger." } ;
ABOUT: "python"