I am running a very simple Python script in an attempt to communicate with a device connected to serial port 0:
import os
serfd = os.open("/com/0", os.O_RDWR | os.O_NONBLOCK)
For some reason, the Python interpreter cannot resolve os.open:
AttributeError: 'module' object has no attribute 'open'
Any ideas what I could be missing?
python.zip is intact as shipped.
The -v option shows that python.zip/os.pyc is loaded.