Re: [Tutor] module import problems

2010-04-26 Thread Rayon
my bad it was a simple error I was calling it form the wrong module thanks From: Rayon Sent: Monday, April 26, 2010 3:47 AM To: bob gailer ; tutor@python.org Subject: Re: [Tutor] module import problems I have a project folder report_db in that project folder I have to packages _modules

Re: [Tutor] module import problems

2010-04-26 Thread Rayon
gailer Sent: Sunday, April 25, 2010 10:25 PM To: tutor@python.org Subject: Re: [Tutor] module import problems On 4/25/2010 9:56 PM, Rayon wrote: I have a module with the name _table in the same directory I have another by the name of _module I would like to import _table into _module

Re: [Tutor] module import problems

2010-04-25 Thread Steven D'Aprano
On Mon, 26 Apr 2010 11:56:06 am Rayon wrote: > I have a module with the name _table > in the same directory I have another by the name of _module > > I would like to import _table into _module > > can someone tall me how. At the beginning of the _module module (what a name! yuck! don't you have a

Re: [Tutor] module import problems

2010-04-25 Thread bob gailer
On 4/25/2010 9:56 PM, Rayon wrote: I have a module with the name _table in the same directory I have another by the name of _module I would like to import _table into _module What exactly does that mean? The import statement, when executed, imports a module into the module containing the imp

[Tutor] module import problems

2010-04-25 Thread Rayon
I have a module with the name _table in the same directory I have another by the name of _module I would like to import _table into _module can someone tall me how. from tables.report_db_engine import * ___ Tutor maillist - Tutor@python.