Question on importing and function defs

2008-03-02 Thread TC
I have a problem. Here's a simplified version of what I'm doing: I have functions a() and b() in a module called 'mod'. b() calls a(). So now, I have this program: from mod import * def a(): blahblah b() The problem being, b() is calling the a() that's in mod, not the new a() that I

Re: Question on importing and function defs

2008-03-02 Thread Gary Herron
TC wrote: I have a problem. Here's a simplified version of what I'm doing: I have functions a() and b() in a module called 'mod'. b() calls a(). So now, I have this program: from mod import * def a(): blahblah b() The problem being, b() is calling the a() that's in mod, not

Re: Question on importing and function defs

2008-03-02 Thread Nick Miller
TC wrote: I have a problem. Here's a simplified version of what I'm doing: I have functions a() and b() in a module called 'mod'. b() calls a(). So now, I have this program: from mod import * def a(): blahblah b() The problem being, b() is calling the a() that's in mod, not

Re: Question on importing and function defs

2008-03-02 Thread TC
On Mar 2, 11:37 am, Gary Herron [EMAIL PROTECTED] wrote: TC wrote: I have a problem. Here's a simplified version of what I'm doing: I have functions a() and b() in a module called 'mod'. b() calls a(). So now, I have this program: from mod import * def a(): blahblah b()

Re: Question on importing and function defs

2008-03-02 Thread Steve Holden
TC wrote: On Mar 2, 11:37 am, Gary Herron [EMAIL PROTECTED] wrote: TC wrote: I have a problem. Here's a simplified version of what I'm doing: I have functions a() and b() in a module called 'mod'. b() calls a(). So now, I have this program: from mod import * def a(): blahblah b()

Re: Question on importing and function defs

2008-03-02 Thread castironpi
On Mar 2, 11:44 am, Steve Holden [EMAIL PROTECTED] wrote: TC wrote: On Mar 2, 11:37 am, Gary Herron [EMAIL PROTECTED] wrote: TC wrote: I have a problem.  Here's a simplified version of what I'm doing: I have functions a() and b() in a module called 'mod'.  b() calls a(). So now, I have