On Thursday, October 27, 2011 9:25:28 AM UTC+5:30, Chris Angelico wrote:
> On Thu, Oct 27, 2011 at 2:51 PM, Bill Allen wrote:
>
> > Chris,
>
> >
>
> > Wow, that seems so simple now that I see it. I was dancing around that all
>
> > day, but just not landing on it. Thanks so very much for th
I have written the following program
#!c:\Python27\Python.exe
import cgi, cgitb;
import sys, serial
cgitb.enable()
ser = serial.Serial('COM27', 9600)
myvar = ser.readline()
print "Content-type:text/html\n\n"
print """
Real Time Temperature
window.onload = startInterval;
function sta
logFileName = 'log.txt'
logfile = open(logFileName, "a")
class MyUDPServer(SocketServer.UDPServer):
def server_bind(self):
self.socket.setsockopt(socket.SOL_SOCKET,
socket.SO_RCVBUF, 8388608)
self.socket.bind(self.serve