On Fri, Sep 25, 2009 at 9:39 AM, David Eric <cii...@gmail.com> wrote:
> Very new to python..getting accustomed to files, directories etc > I installed a few versions of python and ended up with a very long PATH > variable, do i need this or can i change it to something shorter? > Doing an online tutorial one exercise was to move a simple program, > helloworld into the PATH so i could run it just by typing it in terminal > window....i moved it into /Library and says file not found.. > any advice? > THe following is what comes up for PATH > > > /Library/Frameworks/Python.framework/Versions/3.1/bin:/Library/Frameworks/Python.framework/Versions/3.0/bin:/Library/Frameworks/Python.framework/Versions/Current/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin > add /home/yourname/.bin/ to the path (and create it if it doesn't exist). My path looks like this (on Ubuntu): /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/wayne/.bin I don't remember the syntax for adding files to the path, but a quick google search should yield plenty of results. HTH, Wayne
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor