[Tutor] os.getlogin()
Rick Pasotto
rick@niof.net
Mon, 24 Jun 2002 16:47:36 -0400
This is probably not actually a python problem but it's under python
that I encountered it.
>>> import os
>>> name = os.getlogin()
I'm running debian woody and gnome. This code works in the console and
gnome-terminal but it returns
Traceback (most recent call last):
File "<stdin>", line 1, in ?
OSError: [Errno 2] No such file or directory
when I run it in multi-gnome-terminal.
What has the author of multi-gnome-terminal done differently? Is there a
python work-around?
--
"Blaming 'society' makes it awfully easy for a person of weak
character to shrug off his own responsibility for his actions."
-- Stanley Schmidt
Rick Pasotto rickp@telocity.com http://www.niof.net