JadedTuna
Nov 12, 2014 - 02:04
Just noticed module getpass has no function getuser. How do I get current user's name then? Is that even possible?
Just noticed module getpass has no function getuser. How do I get current user's name then? Is that even possible?
Check out the Note here. http://omz-software.com/pythonista/docs/library/getpass.html
And to answer your question - if you want the user (which will always be mobile) you can use os.environ