Personal tools
You are here: Home Weblog Archive 2006 October 20 Easy access to the zope namespace and modules
Document Actions
  • Send this page to somebody
  • Print this page
  • Add Bookmarklet

Easy access to the zope namespace and modules

by tibi last modified 2006-10-20 10:41
Filed Under:

Sometimes I just want to test a package under the zope namespace (installed usually in /opt/Zope2.9/lib/python or /usr/local/Zope3.2/lib/python), like for example the zope.testbrowser the other day. The easiest way to achieve this, without messing around with PYTHONHOME environment variables, or appending paths to sys.path is to change directory to the lib/python folder and start the python interpretor there. Because python will look in the current folder for modules and packages, they will be available in the interpretor. Profit! :-)

Weblog
Atom
RDF
RSS 2.0
Powered by Quills
Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 License.
 

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: