bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#14366: 24.3; Python os.getlogin does not work


From: Rajanikanth Jammalamadaka
Subject: bug#14366: 24.3; Python os.getlogin does not work
Date: Wed, 8 May 2013 18:29:59 -0400


> FileNotFoundError: [Errno 2] No such file or directory

Works for me. Found various old Python bugs related to this:

http://bugs.python.org/issue584566
http://bugs.python.org/issue1750013

> System Description:   Ubuntu 13.04

Thanks. Please close it. I will use pwd which is the recommended module:

>>> pwd.getpwuid(os.getuid())[0]
pwd.getpwuid(os.getuid())[0]
'rajanikanth'

Thanks,
Raj

--
Rajanikanth

reply via email to

[Prev in Thread] Current Thread [Next in Thread]