<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Hello André-<DIV><BR class="khtml-block-placeholder"></DIV><DIV>90% of the program is the user interface. The actually running of the program is just spawning a Python process. I do a little bit of magic to allow multi-file programs that I discuss below, but basically it's just popen(). Regarding the "stop" button, that is just killing the process. And the ">>>" button, is just adding the command line option to Python:<DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>-i : inspect interactively after running script<DIV><BR class="khtml-block-placeholder"></DIV><DIV>Regarding the magic I do before running a script, if there exits a file named main.py in the current or parent folder, then that is run instead of the current script. And the first argument on the command line is the current script's file name. This allows me to write multi-file programs, but it also allows me to do funny things like pre-load certain libraries and add them to __built_in__ or to execute the user's script in a testing framework which I do for a tutorial. I haven't made these things ready for release due to time, but having the main.py file that can "override" the execution of these scripts turned out to be very handy.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>-winston</DIV><DIV><BR><DIV><DIV>On Jan 20, 2006, at 10:48 AM, Andre Roberge wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">This looks like a very interesting idea.<SPAN class="Apple-converted-space"> </SPAN>I have looked at the</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">screenshot on your website and have a few questions:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">1. How specific to the Mac is it?<SPAN class="Apple-converted-space"> </SPAN>From your website, it seems to be</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">an absolute requirement. Is the source code available?<SPAN class="Apple-converted-space"> </SPAN>[I am a</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Windows user.]</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">2. I noticed a "stop" button.<SPAN class="Apple-converted-space"> </SPAN>I'm curious as to how you have</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">implemented this functionality - as well as the possibility to "drop</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">down" to the interpreter level at the end of a script.<SPAN class="Apple-converted-space"> </SPAN>After seeing</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">it, I would like to add this capability in my own programming learning</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">environment.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">André</DIV> </BLOCKQUOTE></DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><P style="margin: 0.0px 0.0px 0.0px 0.0px; min-height: 14.0px"><BR></P><P style="margin: 0.0px 0.0px 0.0px 0.0px; min-height: 14.0px"><BR></P><P style="margin: 0.0px 0.0px 0.0px 0.0px; min-height: 14.0px"><BR></P><P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Trebuchet MS" size="2" color="#70603b" style="font: 10.0px Trebuchet MS; color: #70603b; font-family: Trebuchet MS; font-size: 10px; "><SPAN class="Apple-style-span" style="color: rgb(112, 96, 59); font-family: Trebuchet MS; font-size: 10px; "><SPAN class="Apple-style-span" style="color: rgb(112, 96, 59); font-family: Trebuchet MS; font-size: 10px; ">_________________________________</SPAN><SPAN class="Apple-style-span" style="color: rgb(112, 96, 59); font-family: Trebuchet MS; font-size: 10px; ">________</SPAN><SPAN class="Apple-style-span" style="color: rgb(112, 96, 59); font-family: Trebuchet MS; font-size: 10px; ">________</SPAN><SPAN class="Apple-style-span" style="color: rgb(112, 96, 59); font-family: Trebuchet MS; font-size: 10px; ">_____</SPAN></SPAN></FONT></P><P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Trebuchet MS" size="2" color="#70603b" style="font: 10.0px Trebuchet MS; color: #70603b; font-family: Trebuchet MS; font-size: 10px; "><SPAN class="Apple-style-span" style="color: rgb(112, 96, 59); font-family: Trebuchet MS; font-size: 10px; "><SPAN class="Apple-style-span" style="color: rgb(112, 96, 59); font-family: Trebuchet MS; font-size: 10px; ">winston wolff - (646) 827-2242 - <A href="http://www.stratolab.com">http://www.stratolab.com</A></SPAN></SPAN></FONT></P><P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Trebuchet MS" size="2" color="#70603b" style="font: 10.0px Trebuchet MS; color: #70603b; font-family: Trebuchet MS; font-size: 10px; "><SPAN class="Apple-style-span" style="color: rgb(112, 96, 59); font-family: Trebuchet MS; font-size: 10px; "><SPAN class="Apple-style-span" style="color: rgb(112, 96, 59); font-family: Trebuchet MS; font-size: 10px; ">learning by creating - video game courses for kids in new york</SPAN></SPAN></FONT></P><BR class="Apple-interchange-newline"></SPAN></SPAN> </DIV><BR></DIV></DIV></DIV></BODY></HTML>