Dear All,

Iam Using python 2.3,i have pythonpath in environment variables,is it possible to
rename Pythonpath because i have to use two path alternatively first is pythonpath and second is PythonPath1 any idea?????????


You simply do that within the program that needs the additional path information ...

# if you want to import a custom module that is not 
# normally on the PYTHONPATH  let's say it is in directory my_directory
import sys
# put this line before you start importing the module
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.