Paths and Directories

Posted by: startspark9

Paths and Directories - 11/03/05 05:15 PM

I recently started learning python because of a post made on this forum by one of the staff which i have to say is extremly well said and full of incite. Unforunatly in my "quest" for a higher understanding or knowledge of this language i have come across a couple "technical obsticals" so to speak. I am supposed to know how to cause a particular directory to become my current directory and to cause the directory containing the file named python.exe to be listed in my system environment variable named path. I don't know how to do either of these things, therfore would like some advice on how to do it or i would appreciate it if you could at least point me in the right direction.
Posted by: Gremelin

Re: Paths and Directories - 11/03/05 07:22 PM

I don't know who, if anyone, on this forum knows Python... I know that:

SilentRage Knows: Perl, Unix, Bind
Pergesu Knows: PHP, Java
Learner Knows: PHP, MySQL
Gizmo Knows: PHP, MySQL, Perl, XHTML, CSS
Neo Knows: PHP, MySQL
Ghost KNows: PHP, MySQL

But I can't for the life of me think of anyone on Python...
Posted by: Infinite

Re: Paths and Directories - 11/03/05 09:31 PM

wtf? my perl and bash skills don't count?

waaaaaaaaaaaaaaaaaaaaaa gizzeh no luv meh!!!

p.s. we all know ghost don't know shit too :p
Posted by: §intå×

Re: Paths and Directories - 11/03/05 10:00 PM

In NT systems,

Win Nt 4.0
Win 2000
Win XP

right click my computer icon >
left click properties >
Advanced Tab >
At the bottom you will see enviroment variables button, click it>
In the bottom list(system variables) find path. click it once and highlight it.>
should get a string of shit something like

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\WBEM;C:\j2sdk1.4.2_07\b in;


Now above notice >>>===> C:\j2sdk1.4.2_07\bin;

this is the path for java. just put the path to python.exe in there.

Now also notice the ";" (minus the quotes). You need to seperate paths with a semi colon.