Re: how to find current working user

2008-02-11 Thread Tim Chase
> Can anyone tell me how to find current working user in windows? The below should be fairly cross-platform: >>> import getpass >>> whoami = getpass.getuser() >>> print whoami W: tchase L: tim ("W:" is the result on my windows box, "L:&

Re: how to find current working user

2008-02-11 Thread Chris Mellon
On Feb 11, 2008 12:30 PM, Gabriel Genellina <[EMAIL PROTECTED]> wrote: > En Mon, 11 Feb 2008 15:21:16 -0200, Praveena Boppudi (c) > <[EMAIL PROTECTED]> escribi�: > > > Can anyone tell me how to find current working user in windows? > > If it is just inform

Re: how to find current working user

2008-02-11 Thread Gabriel Genellina
En Mon, 11 Feb 2008 15:21:16 -0200, Praveena Boppudi (c) <[EMAIL PROTECTED]> escribi�: > Can anyone tell me how to find current working user in windows? If it is just informational, use os.environ['USERNAME'] Using win32wnet (from the pywin32 package): py&g

how to find current working user

2008-02-11 Thread Praveena Boppudi (c)
Hi, Can anyone tell me how to find current working user in windows? Thanks, Praveena. -- http://mail.python.org/mailman/listinfo/python-list