[Tutor] executing automatically a command in a PyShell

Bill Mill bill.mill at gmail.com
Tue Oct 26 23:59:29 CEST 2004


Andre,

This seems like a question for the wxPython people, not the Tutor
list. Their mailing list is at wxpython-users at lists.wxwidgets.org .

Peace
Bill Mill
bill.mill at gmail.com

On Tue, 26 Oct 2004 18:15:28 -0300, André Roberge
<andre.roberge at ns.sympatico.ca> wrote:
> I'm running a python interpreter shell in a wxPython app,
> (a page in a notebook) and I'd like to have the command
> 
> from  __future__ import *
> 
> run automatically at the beginning.
> 
> The way I call the python shell is through
>         win = py.shell.Shell(self, -1, introText="")
>         self.AddPage(win, "Python interpreter")
> 
> André
> 
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>


More information about the Tutor mailing list