On Sep 17, 6:11 pm, Stefano Esposito <[EMAIL PROTECTED]>
wrote:
> On Mon, 17 Sep 2007 17:49:58 +0100
>
>
>
> Paul Rudin <[EMAIL PROTECTED]> wrote:
> > Stefano Esposito <[EMAIL PROTECTED]> writes:
>
> > > Hi all
>
> > > what i'm trying to do is this:
>
> > def foo ():
> > > ... return None
> >
On Mon, 17 Sep 2007 17:49:58 +0100
Paul Rudin <[EMAIL PROTECTED]> wrote:
> Stefano Esposito <[EMAIL PROTECTED]> writes:
>
> > Hi all
> >
> > what i'm trying to do is this:
> >
> def foo ():
> > ... return None
> > ...
> def bar ():
> > ... print "called bar"
> > ...
> def assigner ():
On 9/17/07, Stefano Esposito <[EMAIL PROTECTED]> wrote:
> Hi all
>
> what i'm trying to do is this:
>
> >>>def foo ():
> ... return None
> ...
> >>>def bar ():
> ... print "called bar"
> ...
> >>>def assigner ():
> ... foo = bar
> ...
You need to tell "assigner()" that foo doesn't belo
Stefano Esposito <[EMAIL PROTECTED]> writes:
> Hi all
>
> what i'm trying to do is this:
>
def foo ():
> ... return None
> ...
def bar ():
> ... print "called bar"
> ...
def assigner ():
> ... foo = bar
> ...
assigner()
foo()
> called bar
>
> This piece of code is no
Jan Rienyer Gadil wrote:
Sort of a newbie question:
How am i going to assign to a variable anything the user inputs on a wxTxtCtrl?
I'm affraid you have to do it manually. I think the best solution is to
use a property like this:
import wx
class FrameMain(wx.Frame):
def __init__(self, *args