That did it! The fix was the '\r' Thanks for the assistance Dennis and Grant!
Dennis Lee Bieber wrote: > On Fri, 10 Oct 2008 15:40:08 -0700 (PDT), brianrpsgt1 > <[EMAIL PROTECTED]> declaimed the following in comp.lang.python: > > > Again, what is weird is that all works fine in Hyperterminal, but not > > with the Python script. > > > And are you hitting the return key when using Hyperterminal? > > > > > > > > > Try changing that to > > > > > > > > s.write('sh nw enc') > > s.write("sh nw enc\r") #presuming you have to hit the return key in > Hyperterminal > > You may also want to configure the serial port with a read timeout > -- > Wulfraed Dennis Lee Bieber KD6MOG > [EMAIL PROTECTED] [EMAIL PROTECTED] > HTTP://wlfraed.home.netcom.com/ > (Bestiaria Support Staff: [EMAIL PROTECTED]) > HTTP://www.bestiaria.com/ -- http://mail.python.org/mailman/listinfo/python-list