jython and PYTHONPATH

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Harald Kirsch

    jython and PYTHONPATH

    Jython does not seem to care about PYTHONPATH:

    ruddigore:jytho n-2.1) setenv PYTHONPATH blarg
    ruddigore:jytho n-2.1) ./jython
    Jython 2.1 on java1.4.2-beta (JIT: null)
    Type "copyright" , "credits" or "license" for more information.[color=blue][color=green][color=darkred]
    >>> import sys; print sys.path[/color][/color][/color]
    ['', '/tmp_mnt/net_nfs6/vol1/homes/kirsch/tmp/jython-2.1/.',
    '/homes/kirsch/tmp/jython-2.1/Lib'][color=blue][color=green][color=darkred]
    >>>[/color][/color][/color]

    How is sys.path initialized in Jython?

    Harald Kirsch
  • Ype Kingma

    #2
    Re: jython and PYTHONPATH


    Harald Kirsch wrote:
    ....
    [color=blue]
    > How is sys.path initialized in Jython?[/color]

    Would this help:



    ?

    Regards,
    Ype

    Comment

    Working...