On Wednesday, November 9, 2011 10:44:45 AM UTC-8, fhivert wrote: > > Hi there, > > I've a problem with interact together with a request: > > I'd like to write a function which return some interact, for example: > > def make_interact(i): > def _(choice=["x%i"%u for u in range(i)]): > print choice > return interact(_) > If you change this to just "interact(_)", then you won't get this:
> Note also that I get on the screen > > <function _ at 0x4d36a28> > > after the interact. Am I doing something wrong or stupid ? > I don't know about your other questions. -- John -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org