Re: [spe-users] SPE shell question
"SPE Stani's Python Editor" <[email protected]> Sat, 30 Sep 2006 18:19:19 +0200
| Newsgroups | gmane.comp.python.spe.user |
|---|---|
| Message-ID | <[email protected]> |
http://pythonide.stani.be
http://pythonide.stani.be/manual/html/manual.html
http://pythonide.stani.be/blog/sm_donate
--
Interesting question. I just didn't think of this. You can do this
simply by pasting this in the shell:
shell.interp.locals = {'SPEapp':SPEapp,'shell':shell}
or if you don't use SPEapp to explore SPE's internal dynamics, you can
simplify it:
shell.interp.locals = {'shell':shell}
I hope this helps,
Stani
On 9/29/06, [email protected] <[email protected]> wrote:
>
> Hi, Stani --
>
> Thank you for your terrific SPE application. I think it is superb!
>
> I have one question: How can you restart the shell without shutting down
> the entire SPE application?
>
> I've explored every menu option and shell command I can think of, but I
> haven't found a way to restart a shell (not just clear the shell screent,
> but wipe out the variables and data structures in the current shell and
> start a new, fresh shell) without having to shutdown the SPE application
> and restart it. The python ide "IDLE" has this feature in a menu option.
> Does your SPE application have anything that does this?
>
> Thanks,
> JP
>
> JP Kreps
> DBA
> State of Nebraska - Department of Revenue
> 301 Centennial Mall South
> Lincoln NE 68508-2529
> (402)471-5632
> [email protected]
>
>
--
http://pythonide.stani.be
http://pythonide.stani.be/screenshots
http://pythonide.stani.be/manual/html/manual.html
--
http://pythonide.stani.be
http://pythonide.stani.be/screenshots
http://pythonide.stani.be/manual/html/manual.html