Couple of noobish question

Bruno Desthuilliers bruno.42.desthuilliers at websiteburo.invalid
Thu Feb 5 11:11:58 EST 2009


Tim Rowe a écrit :
> 2009/2/4 Bruno Desthuilliers <bdesth.quelquechose at 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 !-)



More information about the Python-list mailing list