Tim Rowe a écrit :
2009/2/4 Bruno Desthuilliers <bdesth.quelquech...@free.quelquepart.fr>:

# somemodule.py

import os

if os.uname()[0] == "Linux":

On an MS Windows system, os.uname()[0] raises an AttributeError

Thanks for the correction - as you may have guessed, I have not used windows for years !-)
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to