Python IDLE Question

vincent wehren vincent at
Wed Jun 9 18:15:56 CEST 2004

tony.ha at 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

More information about the Python-list mailing list