Dumb Newbie Question

red5sf at my-deja.com red5sf at my-deja.com
Sun Dec 10 01:07:13 CET 2000


dude, i just had this same problem.  I tried editing the PYTHONPATH
variable in the PythonPath editor (via Pythonwin) but it didn't quite
work.

The simplest solution (if you're using PythonWin as your IDE) is to add
edit the pythonwin path.  Go to the Edit PythonPath from the Tools
pulldown menu and edit the pythonwin registry to include your script
folder.

hope that's clear,
christian

In article <3A327D01.9841EF98 at drew.edu>,
  Scott Weisel <sweisel at drew.edu> wrote:
> I'm trying to set up Python so I can import the programs that I
wrote.  I
> want to modify $PYTHONPATH so the directory with my programs is in
the path
> but I'm not sure how.
>
> I thought I might be able to modify sys.path like this
> sys.path = sys.path + "c:\\python16\\programs
> but I'm getting a TypeError stating "illegal argument type for built-
in
> operation."
>
> Any suggestions would be appreciated
> -Scott
>


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list