Re: pyhon 1.5.2 problem

2014-06-19 Thread Steven D'Aprano
Are you really using Python 1.5.2? Wow. That's really old :-) Please copy and paste the *full* traceback that Python shows. A few more comments below: On Thu, 19 Jun 2014 14:55:36 +0200, Pat Fourie wrote: > This is the python code > > # > Import SER No it isn't. "Import SER" is a syntax error

Re: pyhon 1.5.2 problem

2014-06-19 Thread Peter Otten
Pat Fourie wrote: > Good Day all, > > I have the following problem. > > This is the python code > > # > > Import SER > > # > > SER.set_speed('115200','8N1') > > .. > > .. > > .. > > When I run the above code I get the following error : > > > > SER.set_speed('115200','8N1') > > Attri

pyhon 1.5.2 problem

2014-06-19 Thread Pat Fourie
Good Day all, I have the following problem. This is the python code # Import SER # SER.set_speed('115200','8N1') .. .. .. When I run the above code I get the following error : SER.set_speed('115200','8N1') AttributeError : set_speed Can anyone help as this did work before.I have