Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'pat': 0.05; 'exists.': 0.07; 'rename': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'received:80.91.229.3': 0.16; 'received:dip0.t-ipconnect.de': 0.16; 'received:plane.gmane.org': 0.16; 'received:t-ipconnect.de': 0.16; 'wrote:': 0.18; 'all,': 0.19; 'import': 0.22; 'header:User- Agent:1': 0.23; 'error': 0.23; 'subject:problem': 0.24; 'header:X -Complaints-To:1': 0.27; 'code': 0.31; 'anyone': 0.31; 'file': 0.32; 'run': 0.32; 'problem': 0.35; 'problem.': 0.35; 'but': 0.35; 'to:addr:python-list': 0.38; 'delete': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'called': 0.40; 'new': 0.61; 'day': 0.76 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Peter Otten <__peter__@web.de> Subject: Re: pyhon 1.5.2 problem Date: Thu, 19 Jun 2014 15:25:53 +0200 Organization: None References: <000001cf8bbd$c5848570$508d9050$@icon.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Gmane-NNTP-Posting-Host: p57bdb706.dip0.t-ipconnect.de User-Agent: KNode/4.11.5 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 42 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1403184606 news.xs4all.nl 2885 [2001:888:2000:d::a6]:49774 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:73425 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.