RE: windows directories for curr user

2005-05-12 Thread Tim Golden
[flamesrock] | | Thanks for the code Tom. | | Unforunately, I get the following error message when trying to import | win32com in idle: | | >>> from win32com.shell import shell, shellcon | | Traceback (most recent call last): | File "", line 1, in -toplevel- | from win32com.shell import s

Re: windows directories for curr user

2005-05-11 Thread Peter Hansen
flamesrock wrote: > Thanks for the code Tom. > > Unforunately, I get the following error message when trying to import > win32com in idle: Have you installed the pywin32 package? If not, see Google... -- http://mail.python.org/mailman/listinfo/python-list

Re: windows directories for curr user

2005-05-11 Thread flamesrock
Thanks for the code Tom. Unforunately, I get the following error message when trying to import win32com in idle: >>> from win32com.shell import shell, shellcon Traceback (most recent call last): File "", line 1, in -toplevel- from win32com.shell import shell, shellcon ImportError: No modul

RE: windows directories for curr user

2005-05-11 Thread Tim Golden
[Dan Bishop] | flamesrock wrote: | > Hi, | > | > Short, maybe newbish question: Is there a python method for finding | out | > who the current user is in the OS module? | > | > On older windows machines the directory I'm interested in is just | > "c://my documents", but how do I walk to the current

Re: windows directories for curr user

2005-05-10 Thread flamesrock
thanks!! -- http://mail.python.org/mailman/listinfo/python-list

Re: windows directories for curr user

2005-05-10 Thread Dan Bishop
flamesrock wrote: > Hi, > > Short, maybe newbish question: Is there a python method for finding out > who the current user is in the OS module? > > On older windows machines the directory I'm interested in is just > "c://my documents", but how do I walk to the current users my documents > folder?

windows directories for curr user

2005-05-10 Thread flamesrock
Hi, Short, maybe newbish question: Is there a python method for finding out who the current user is in the OS module? On older windows machines the directory I'm interested in is just "c://my documents", but how do I walk to the current users my documents folder? -thanks -- http://mail.python.