pyhon 1.5.2 problem

Peter Otten __peter__ at web.de
Thu Jun 19 09:25:53 EDT 2014


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')
> 
> AttributeError : set_speed
> 
>  
> 
> Can anyone help as this did work before.I have recompiled everything but
> the problem still
> 
> Exists.
> 
> In anticipation,

Did you create a new file called SER.py recently? If so rename that and 
don't forget to delete the corresponding SER.pyc.




More information about the Python-list mailing list