470,827 Members | 1,724 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,827 developers. It's quick & easy.

Python IDLE Question

Hello,

I have a question about Python IDLE, when I run a Python script under the
Edit Window of IDLE, i.e Run -> Run Module,
I have the following Message:

IDLE 1.0.3

Warning: HOME environment variable points to
C:
but the path does not exist.
================================ RESTART ================================
1. What does this Warning about? Do I need to set my HOME variable to
some where else?
If so, where?

2. "but the path does not exist" What does this refer to? what path?
NOTE: I run Python IDLE under Windows XP, and I check the environment
variable, there is NO HOME variable in the environment!
By the way, the scripts run ok under IDLE, just curiosity about this
message!
Jul 18 '05 #1
1 1571
to*****@philips.com wrote:
Hello,

I have a question about Python IDLE, when I run a Python script under the
Edit Window of IDLE, i.e Run -> Run Module,
I have the following Message:

IDLE 1.0.3

Warning: HOME environment variable points to
C:
but the path does not exist.


What do you get when you do the following in your Python shell?
import os
userDir = os.path.expanduser("~")
print userDir


Vincent Wehren
Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Aubrey Hutchison | last post: by
reply views Thread by Kurt B. Kaiser | last post: by
4 posts views Thread by renguy | last post: by
3 posts views Thread by Only-Trouble | last post: by
reply views Thread by Rajanikanth Jammalamadaka | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.