New submission from Julius <julius.mil...@bravo-zulu.us>: I'm running ver 2.7 and added the serial library from source forge. here is the error I get:
Traceback (most recent call last): File "C:\Python27\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", line 326, in RunScript exec codeObject in __main__.__dict__ File "C:\Documents and Settings\Administrator\My Documents\WTF.py", line 3, in <module> import serial ImportError: No module named serial here is my code: # Echo client program import socket import serial HOST = '216.240.155.229' # The remote host PORT = 9090 # The same port as used by the server s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect((HOST, PORT)) ser = serial.Serial('USB0', timeout=3) x = 0 #while x < 5: while True: msg = ser.readline() s.send(msg) x += 1 s.close() ---------- components: Extension Modules, IDLE, Windows messages: 165141 nosy: JuliusMiller priority: normal severity: normal status: open title: Serial library not found type: resource usage versions: Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15312> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com