Python: Difference between revisions

From LPTMS Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 18: Line 18:


* [http://www.boost.org/doc/libs/release/libs/python/doc interfacing C++ and Python] via Boost
* [http://www.boost.org/doc/libs/release/libs/python/doc interfacing C++ and Python] via Boost
== Tips ==
* adding a path to a directory containing your module files
<source lang="py">
import sys
sys.path += [ "/home/username/bin/Python" ]
</source>

Revision as of 11:16, 13 October 2011

documentation

Libraries

Miscellaneous

Tips

  • adding a path to a directory containing your module files

<source lang="py"> import sys sys.path += [ "/home/username/bin/Python" ] </source>