| | |
Python path help 2
Please support our Python advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved |
•
•
Join Date: Oct 2006
Posts: 179
Reputation:
Solved Threads: 2
Hi
The info "joeprogrammer's" gave me to place the python directory at the end of my path but im confused.
My path at the moment looks like this
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Common Files\Adobe\AGL
Python on my pc is in my H:\ drive under a folder called python.
can somebody please write what my path should look like with python on it thanks.
HLA91
BE COOL AND DONT GET STRESSED!
The info "joeprogrammer's" gave me to place the python directory at the end of my path but im confused.
My path at the moment looks like this
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Common Files\Adobe\AGL
Python on my pc is in my H:\ drive under a folder called python.
can somebody please write what my path should look like with python on it thanks.
HLA91
BE COOL AND DONT GET STRESSED!
•
•
•
•
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Common Files\Adobe\AGL;H:\Python24
Normally you don't have to do this kind of thing, when you install Python properly with the downloaded MSI installer file.
Last edited by Ene Uran; Oct 21st, 2006 at 12:45 pm.
drink her pretty
A short code to show PYTHONPATH ...
Python Syntax (Toggle Plain Text)
# show the system path for Python --> PYTHONPATH import sys print "These are the directories Python looks into for modules and source files:" for folder in sys.path: print folder print "-"*30 # print 30 dashes print "This would be your present working folder/directory:" print sys.path[0]
May 'the Google' be with you!
![]() |
Similar Threads
- Mepis and installing... (Getting Started and Choosing a Distro)
- Python path HELP (Python)
- simple python web server (Python)
- Compiling Python (Python)
Other Threads in the Python Forum
- Previous Thread: password challenge
- Next Thread: I want to learn python
| Thread Tools | Search this Thread |
Tag cloud for Python
address alarm app beginner cipher code coordinates copy curves cx-freeze data development dictionary directory dynamic examples excel feet file float font format ftp function generator getvalue gui halp homework images import input ip itunes java keycontrol line linux list lists loop maintain maze millimeter mouse mysqldb number numbers output parsing path port prime programming projects py2exe pygame pyglet pymailer pyqt python queue random recursion screensaverloopinactive script scrolledtext slicenotation split ssh string strings table terminal text thread threading time tkinter tlapse tooltip tuple tutorial type ubuntu unicode url urllib urllib2 variable variables ventrilo verify vigenere web webservice windows wx.wizard wxpython xlwt






