473,396 Members | 2,050 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

GO AHEAD -MAKE ME LOOK DUMB- Please

I have exhausted places to look for where "PYTHONPATH" is located..

In windows (using the DOS command) no such thing exist but path does.
I find no file with that name.
I have yet to find a config file that I would think might work as
PYTHONPATH.

What am I missing?

Thanks

Aubrey
Jul 18 '05 #1
4 1403
On Tue, 30 Dec 2003 19:55:35 -0500, "Aubrey Hutchison"
<ab*****@comcast.net> wrote:
I have exhausted places to look for where "PYTHONPATH" is located..

In windows (using the DOS command) no such thing exist but path does.
I find no file with that name.
I have yet to find a config file that I would think might work as
PYTHONPATH.

What am I missing?

Thanks

Aubrey

Try:
START\SETTINGS\CONTROL PANEL\SYSTEM
then select Advanced
then select Environmental Variables
then click on "new" and make your PYTHONPATH

Don't feel badly..took me awhile too...:)
Norm

Jul 18 '05 #2
Under Win98 pythonpath is used as an environment variable
and its string value can be displayed from a DOS command prompt
using the echo command ....

echo %pythonpath%
K:\Python\Lib\site-packages\fixedpoint;G:\dislin\python;K:\Python\py_ Work\GUI\Tk
\Grayson\Examples;K:\Python\py_Work\GUI\Tk\Grayson \Examples\Common

From the Python interpreter, pythonpath can be checked
using the os.environ method ....

import os

list_pp = os.environ[ 'pythonpath' ].split( ';' )

for this_path in list_pp : .... print this_path
....
K:\Python\Lib\site-packages\fixedpoint
G:\dislin\python
K:\Python\py_Work\GUI\Tk\Grayson\Examples
K:\Python\py_Work\GUI\Tk\Grayson\Examples\Common


--
Cousin Stanley
Human Being
Phoenix, Arizona

Jul 18 '05 #3
In article <2_********************@comcast.com>,
Aubrey Hutchison <ab*****@comcast.net> wrote:
I have exhausted places to look for where "PYTHONPATH" is located..

In windows (using the DOS command) no such thing exist but path does.
I find no file with that name.
I have yet to find a config file that I would think might work as
PYTHONPATH.

What am I missing?


Run regedit.exe .
Look at HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\[version]\PythonPath .
Be enlightened. :-)

Gary Duzan
BBN Technologies
A Verizon Company
Jul 18 '05 #4
Thanks

Aubrey
"Gary D. Duzan" <gd****@bbn.com> wrote in message
news:VY***********@news.level3.com...
In article <2_********************@comcast.com>,
Aubrey Hutchison <ab*****@comcast.net> wrote:
I have exhausted places to look for where "PYTHONPATH" is located..

In windows (using the DOS command) no such thing exist but path does.
I find no file with that name.
I have yet to find a config file that I would think might work as
PYTHONPATH.

What am I missing?
Run regedit.exe .
Look at

HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\[version]\PythonPath . Be enlightened. :-)

Gary Duzan
BBN Technologies
A Verizon Company

Jul 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: kevin bailey | last post by:
hi there, is xmlspy way ahead of everyone else? i work on a linux workstation and use vmware/windows 2000 to work with windows based clients. i have been able to carry out a couple of basic...
0
by: David G. | last post by:
The keyboard type ahead buffer does not seem to work in Access 2003 in certain situations. We would like some help with this. Here are the details. We have a large program that was developed...
3
by: ad | last post by:
We can inherited a class. but when a class has a .aspx ahead, can we inherit the class and it's .aspx together?
1
by: Rob T | last post by:
I'm porting over an application that runs on an AS/400 over to asp.net. One of the features my users like is to be able to start typing before the screen is loaded. (this is a 5250 emulator, not...
12
by: Joel Byrd | last post by:
I'm having a little problem with using type-ahead functionality for an auto-suggest box. Sometimes, when I start to type something and the type-ahead shows up, the AJAX will send a request query...
2
by: Matthew Wilson | last post by:
The random.jumpahead documentation says this: Changed in version 2.3: Instead of jumping to a specific state, n steps ahead, jumpahead(n) jumps to another state likely to be separated by many...
0
by: cantelow | last post by:
Hi. We're upgrading from ms access 97 to 2003 and finding that the type-ahead buffer in 2003 can't handle as many characters as we are used to in Access 97. I've found this question only once...
2
by: =?Utf-8?B?R2ls?= | last post by:
I have a server (Win2k3 SBS) that is a domain controller and exchange server. I failed to apply the DST patches until after the DST kicked in. I have since completed successfully the patches and...
25
by: mdh | last post by:
Hi all, Going quite methodically through K& R ( as some of you can attest to!), I have never seen a big diffference in declaring a function within "main" or "ahead" of it. Now, (p119, K&R II), the...
2
by: biotechie | last post by:
I have been trying to use this code to enable the type ahead function in a combo box within a form that I am using. The combo box contains the id#, old compound number and new compound number. What...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.