I know that that would work; I am asking if there is a way to permanently add the path to sys.path so that I don't have to run that code every time... For instance, the other paths that show up when I run sys.path are permanently stored there...
If you want to import custom module xyq via the Pythonpath,
create a file xyq.pth and stick it into a directory python
will look into, like
C:/Python25/Lib/site-packages (for Windows)
/usr/lib/python2.5/site-packages (for Linux)
The .pth file contains a line showing the directory
in which module xyq is located, for instance:
C:/Python25/MyModules (for Windows)
/usr/lib/python2.5/mymodules (for Linux)
Hi I'm having a problem implementing a mini shopping cart drop down in the header to show the user all the products they have in their shopping cart. It seems the only solution for this is Ajax, and I've looked all over and can't find anything that I could possibly ...
Help! I want to create a java program that finds the highest even integer among the values entered by the user. Stop asking values when a value less than 1 have been entered. If no even integer is entered, display "No Even Integer"