> I need to edit my pythonpath, but where it?

Which OS?  And for what duration (just one shell session, or for 
all shell-sessions)?

On *nix systems (Linux, BSD, Mac, etc), to set it across shell 
sessions, you usually set it in your .bashrc (or if you're using 
an alternate shell, in its rc file).  It would likely be a line like

   export PYTHONPATH=/path/to/wherever

alternatively, if you just need it for a current editing session, 
you can just use that command at the prompt.


On Windows systems, to set it for all shell sessions,

    1. Go to Control Panel -> System-> Advanced.
    2. Click 'Environment Variables' button.
    3. In the 'System Variables' panel that appears, click New
    4. enter PYTHONPATH in the 'Variable Name' field.
    5. In the 'Variable Value' field enter path to what you
       want to add (e.g. "C:\my\path")

or from the DOS prompt for a particular session, you can use

   C:\> SET PYTHONPATH=c:\my\path

Even if it's set globally, you can override it for a particular 
session if needed.

-tim




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to