<div>Dear friends</div>
<div> </div>
<div>Sorry for my delay:</div>
<div> </div>
<div>Here you have the results on a AMD64/Vista:</div>
<div>C:\Python25>python<br>Python 2.5.4 (r254:67916, Dec 23 2008, 15:19:34) [MSC v.1400 64 bit (AMD64)] on<br>win32<br>Type "help", "copyright", "credits" or "license" for more information.<br>
>>> import sys<br>>>> sys.platform<br>'win32'</div>
<div>>>> import os<br>>>> <a href="http://os.name">os.name</a></div>
<div>'nt'<br>>>> os.environ['OS']<br>'Windows_NT'</div>
<div><br>>>> import platform<br>>>> platform.system()<br>'Windows'<br>>>><br><br>Cheers</div>
<div> </div>
<div>milton<br></div>
<div class="gmail_quote">2009/5/26 Hamish <span dir="ltr"><<a href="mailto:hamish_b@yahoo.com">hamish_b@yahoo.com</a>></span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>> could you ... find and run python.exe from a cmd.exe DOS box and<br>
<div class="im">> post the results of typing the following commands at the<br>> '>>>' prompt:<br>....<br></div>
<div class="im">> import os<br>> <a href="http://os.name/" target="_blank">os.name</a><br>> os.environ<br><br></div>actually don't bother to post the long result from os.environ, just:<br><br>> os.environ['OS']<br>
<br><br>In 32bit linux I get:<br>>>> sys.platform<br>'linux2'<br>>>> <a href="http://os.name/" target="_blank">os.name</a><br>'posix'<br>>>> os.environ['OS']<br>[error because it's not set]<br>
>>> platform.system()<br>'Linux'<br><font color="#888888"><br><br>Hamish<br><br><br><br><br><br></font></blockquote></div><br>