Strange behavior with os call in cgi script
Steve Holden
steve at holdenweb.com
Sun Feb 5 22:47:42 EST 2006
Rene Pijlman wrote:
> sophie_newbie:
>
>>OK, interesting, but just how dow I print he environment in the
>>program??
>
>
> Add logging to your program:
> http://www.python.org/doc/2.3.5/lib/module-logging.html
>
Probably oiverkill, particularly for a beginner (is it only me that
thinks the logging module is either way over-complicated or way
under-documented?).
> And log the environment:
> http://www.python.org/dev/doc/newstyle/lib/os-procinfo.html
>
regards
Steve
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC www.holdenweb.com
PyCon TX 2006 www.python.org/pycon/
More information about the Python-list
mailing list