Hi!
I'm trying to use "platform.machine()" function, but it doesn't work on
python 3.0.1. Am I doing something wrong here or is it suppose to not work
on py3k? The errors I get while using the python interpreter:
>>> import platform
>>> platform.machine()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/lib/python3.0/platform.py", line 1222, in machine
return uname()[4]
File "/opt/lib/python3.0/platform.py", line 1152, in uname
processor = _syscmd_uname('-p','')
File "/opt/lib/python3.0/platform.py", line 905, in _syscmd_uname
f = os.popen('uname %s 2> /dev/null' % option)
File "/opt/lib/python3.0/os.py", line 629, in popen
import subprocess, io
File "/opt/lib/python3.0/subprocess.py", line 361, in <module>
import select
ImportError: No module named select
Kind regards,
Ali
--
http://mail.python.org/mailman/listinfo/python-list