Calling all Python experts

David Bandel david.bandel
Thu Dec 21 19:32:49 PST 2006


On 12/21/06, Matthew Carpenter <mcarpenter at intelguardians.com> wrote:

[snip]

>
> Apparently "USER" isn't set in the environment being run from.  Use something
> that is, or pull it from the command line.

finally found it:
"/var/mail/" + os.environ.get("LOGNAME")
at least the "+" part they copied correctly from Perl ;-)

David A. Bandel
-- 
Focus on the dream, not the competition.
            - Nemesis Air Racing Team motto



More information about the Linux-users mailing list