Python-spe-users digest, Vol 1 #85 - 1 msg
python-spe-users-request-tdrK/[email protected] Wed, 03 May 2006 12:00:19 +0200
| Newsgroups | gmane.comp.python.spe.user |
|---|---|
| Message-ID | <[email protected]> |
Send Python-spe-users mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit http://lists.berlios.de/mailman/listinfo/python-spe-users or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of Python-spe-users digest..." _______________________________________________ http://pythonide.stani.be http://pythonide.stani.be/manual/html/manual.html http://pythonide.stani.be/blog/sm_donate _______________________________________________ Today's Topics: 1. Re: Three Newbie Issues (SPE Stani's Python Editor) --__--__-- Message: 1 Date: Tue, 2 May 2006 22:28:21 +0200 From: "SPE Stani's Python Editor" <[email protected]> To: python-spe-users-tdrK/[email protected] Subject: Re: [spe-users] Three Newbie Issues Reply-To: [email protected] On 5/1/06, Henning Hraban Ramm <[email protected]> wrote: > http://pythonide.stani.be > http://pythonide.stani.be/manual/html/manual.html > http://pythonide.stani.be/blog/sm_donate > -- > > > Am 2006-05-01 um 11:50 schrieb Todd O'Bryan: > > >> Doing Ctrl+Shift+E runs the file. But I strongly advice [against] > >> letting > >> students use this, as if they define an infinite loop, SPE will > >> block. > > I'm a little unsure about your last point, though. First, I'm > > assuming you advise NOT to let students do this. Does running the > > file in the shell work differently than running it with the Run > > command? In other words, does an infinite loop only run infinitely > > in the shell? > > If you must kill a loop (i.e. the process), you must kill SPE (and > perhaps loose changes in other open files) if you run from SPE (in > the same process). Thanks Henning! To repeat: if you run a program with an infinite loop with Ctrl+R (or toolbar button) you can kill it by pressing Ctrl+R again. If you load an infinite loop in the shell there is no way to kill the program.Therefore all programs should be run with Ctrl+R and only small, safe code snippets should run in the shell as they block SPE during execution.That's why students should use Ctrl+R. > Otherwise you can kill the shell and leave SPE running. This is confusing, you can not kill the shell. You can kill scripts running with Ctrl+R Stani -- http://pythonide.stani.be http://pythonide.stani.be/screenshots http://pythonide.stani.be/manual/html/manual.html --__--__-- _______________________________________________ Python-spe-users mailing list [email protected] http://lists.berlios.de/mailman/listinfo/python-spe-users End of Python-spe-users Digest