Re: Seeing "locals()" from imported function

2008-02-24 Thread Steve Holden
Luis M. González wrote: > This is one of these times when I feel so dumb and ashamed that I > wished I never dared to ask... > Well, that did the trick. Thanks! > > luis > > On Feb 24, 3:41 am, 7stud <[EMAIL PROTECTED]> wrote: >> Yes, define your functions so that they get all the input they need

Re: Seeing "locals()" from imported function

2008-02-24 Thread Luis M. González
This is one of these times when I feel so dumb and ashamed that I wished I never dared to ask... Well, that did the trick. Thanks! luis On Feb 24, 3:41 am, 7stud <[EMAIL PROTECTED]> wrote: > Yes, define your functions so that they get all the input they need > from the arguments that are passed i

Re: Seeing "locals()" from imported function

2008-02-23 Thread 7stud
On Feb 23, 11:41 pm, 7stud <[EMAIL PROTECTED]> wrote: > On Feb 23, 10:06 pm, "Luis M. González" <[EMAIL PROTECTED]> wrote: > > > > > I apologize for this very basic question, but I can't understand how > > this works... > > I want to import a function from module B into my main script A, so > > thi

Re: Seeing "locals()" from imported function

2008-02-23 Thread 7stud
On Feb 23, 10:06 pm, "Luis M. González" <[EMAIL PROTECTED]> wrote: > I apologize for this very basic question, but I can't understand how > this works... > I want to import a function from module B into my main script A, so > this function can see and use the locals from A. > > For example: > > de