Path: csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:: [': 0.03; 'subject:Python': 0.05; 'attribute': 0.05; 'subject:help': 0.07; 'subject:2.7': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr :python-list': 0.10; 'subject:Help': 0.10; 'subject:] [': 0.16; 'subject:] ': 0.19; 'example': 0.23; 'cc:2**1': 0.24; 'tried': 0.25; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; "skip:' 20": 0.32; 'received:google.com': 0.34; 'thanks': 0.34; 'from:addr:googlemail.com': 0.35; 'received:209.85': 0.35; 'something': 0.35; 'but': 0.36; 'cc:no real name:2**1': 0.36; 'subject: (': 0.36; 'received:209': 0.37; 'object': 0.38; 'possible.': 0.38; 'your': 0.60; 'from:no real name:2**0': 0.60; 'understood.': 0.84; 'evening': 0.91; 'tomorrow': 0.96 Newsgroups: comp.lang.python Date: Sun, 23 Dec 2012 12:59:30 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=81.217.27.214; posting-account=cEKlTgoAAACa82UEsarDnR5Dm6ErawNg References: <37264cd5-8acd-416b-a808-50216f9fbfa0@googlegroups.com> User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 81.217.27.214 MIME-Version: 1.0 Subject: Re: [Help] [Newbie] Require help migrating from Perl to Python 2.7 (namespaces) From: prilisauer@googlemail.com To: comp.lang.python@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 Cc: python-list@python.org, prilisauer@googlemail.com 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: , Message-ID: Lines: 9 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1356296379 news.xs4all.nl 6906 [2001:888:2000:d::a6]:52671 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:35412 Thanks to all your answers, I have read a lot about namespaces, but still there's something I do not understood. I have tried your example but as I expected: line 13, in HandoverSQLCursor curs.execute("SELECT * FROM lager") AttributeError: 'builtin_function_or_method' object has no attribute 'execute' I will try my best to write tomorrow a sample as detailed as possible. Good evening