Hi,

I have a suggestion to the interactive console. In its current state it does 
not accept inputs like print """ some
text """ (over multiple lines). By importing InteractiveConsole instead of 
InteractiveInterpreter and changeing the funtion on_return this may be 
changed.

  def on_return(self):
    """ run the command if its complete """
    self.write(">>> %s\n" % self.input.value)
    if self.interpreter.push(self.input.value):
      pass

    self.input.clear()

Reto

On Friday 22 April 2005 17.38, dunk wrote:
> if anyone wants to know how to do something with pudding just ask and
> ill write an example.
>
> also if you write any components that could be usefull please
> post/commit them. very reusable widgets should go into pudding.control,
> large/specific controls should have theyre own module in pudding (eg,
> pudding.python_console), and all other widgets should go into the
> pudding.ext module ( eg. pudding.ext.fpslabel ).
>
> the chances are if you are writing a widget that does not exist then
> other people will find it usefull too.
>
> thanks
>
>
>
> _______________________________________________
> Soya-user mailing list
> [email protected]
> https://mail.gna.org/listinfo/soya-user

-- 
Reto Spoerri : http://www.nouser.org/
Mousecam : http://www.knoppix.tv/

Reply via email to