On Sun, 8 Aug 2010 09:35:38 am aug dawg wrote: > Hey all, > > Earlier today, I tried to add a folder to my PYTHONPATH. When I tried > sys.path.app('location/of/folder'), the command successfully executed > it, but then when I did sys.path to check to see if it was now in my > PYTHONPATH, it was not there. Does anyone know what might be causing > this?
Modifying sys.path doesn't update PYTHONPATH. If you modify sys.path, the changes disappear when you exit and re-enter and the unmodified PYTHONPATH is read. -- Steven D'Aprano _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor