En Mon, 14 Jul 2008 08:26:49 -0300, oyster <[EMAIL PROTECTED]>
escribi�:
My py24 is installed in h:\python24
I installed pyglet(http://pyglet.org/) in
H:\pure_pylib\Multimedia\pyglet-1.0\, if I do
[code]
import sys
sys.path.append(r'H:\pure_pylib\Multimedia\pyglet-1.0')
import pyglet
[/code]
2. I also carry python on my U-disk, as you know the driver letter
assigned to it is not always same. so I can't use full path name
> -- 已转发邮件 --
> From: Mike Driscoll <[EMAIL PROTECTED]>
> To: python-list@python.org
> Date: Mon, 14 Jul 2008 06:12:25 -0700 (PDT)
On Jul 14, 6:26 am, oyster <[EMAIL PROTECTED]> wrote:
> My py24 is installed in h:\python24
> I installed pyglet(http://pyglet.org/) in
> H:\pure_pylib\Multimedia\pyglet-1.0\, if I do
> [code]>>> import sys
> >>> sys.path.append(r'H:\pure_pylib\Multimedia\pyglet-1.0')
> >>> import pyglet
>
> [/code
My py24 is installed in h:\python24
I installed pyglet(http://pyglet.org/) in
H:\pure_pylib\Multimedia\pyglet-1.0\, if I do
[code]
>>> import sys
>>> sys.path.append(r'H:\pure_pylib\Multimedia\pyglet-1.0')
>>> import pyglet
[/code]
it is ok.
but if I created h:\pure_pylib\pyglet.pth file, which co