path variable

This is the place for queries that don't fit in any of the other categories.

path variable

Postby iceman2014 » Wed Apr 16, 2014 12:03 pm

As a complete newbie to programming i'm confused on what the path or path variables mean...
For example in the version 3.4.0 documentation it mentions set path=%path%;C:\python34 what does this mean and where do i type it, is it in the unix shell, command prompt ?-would appreciate if u can b as clear as possible thanks.
iceman2014
 
Posts: 8
Joined: Wed Apr 02, 2014 9:28 pm

Re: path variable

Postby snippsat » Wed Apr 16, 2014 12:39 pm

I guess you use Windows,read my post here
is it in the unix shell, command prompt ?

You know that in Windows is called cmd?
Read tutorial here and here
User avatar
snippsat
 
Posts: 168
Joined: Thu Feb 21, 2013 12:04 am

Re: path variable

Postby iceman2014 » Wed Apr 16, 2014 1:23 pm

managed to change the variable settings in advanced settings on windows but how do i know if everythings working do i need to test it in some way?
iceman2014
 
Posts: 8
Joined: Wed Apr 02, 2014 9:28 pm

Re: path variable

Postby snippsat » Wed Apr 16, 2014 1:34 pm

Start cmd and type python.
If it work python start.
Code: Select all
C:\Users\Tom>python
Python 3.4.0 (v3.4.0:04f714765c13, Mar 16 2014, 19:24:06) [MSC v.1600 32 bit (In
tel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>

The point of setting environment Variables Path,is so that python work from all places in cmd,not just in folder python34(where python.exe is located)
User avatar
snippsat
 
Posts: 168
Joined: Thu Feb 21, 2013 12:04 am

Re: path variable

Postby metulburr » Wed Apr 16, 2014 1:36 pm

there was also a tutorial on this forum, specifically for path variable
viewtopic.php?f=25&t=55
New Users, Read This
OS Ubuntu 14.04, Arch Linux, Gentoo, Windows 7/8
https://github.com/metulburr
steam
User avatar
metulburr
 
Posts: 1416
Joined: Thu Feb 07, 2013 4:47 pm
Location: Elmira, NY

Re: path variable

Postby iceman2014 » Wed Apr 16, 2014 1:55 pm

tried it in cmd dos box and worked thanks for your help.

Is there any advice on how to install modules on this site or do i need to look specifically on the python.org site?
iceman2014
 
Posts: 8
Joined: Wed Apr 02, 2014 9:28 pm

Re: path variable

Postby stranac » Wed Apr 16, 2014 2:03 pm

As far as windows goes, for most modules, there is http://www.lfd.uci.edu/~gohlke/pythonlibs/
If you need something that's not available there, most packages have installation instructions, although most of the times you just use pip install or setup.py install
Friendship is magic!

R.I.P. Tracy M. You will be missed.
User avatar
stranac
 
Posts: 1115
Joined: Thu Feb 07, 2013 3:42 pm


Return to General Coding Help

Who is online

Users browsing this forum: Bing [Bot] and 5 guests