<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Alan,</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Actually, I think you just solved one of the main issues I've had. That is, trying to figure out how much it'll help to have the GUI session open with the SSH session (as was recommended when I set out to do these projects). I had it in my mind that having this up and working would mean that these projects would make more sense. I could have been using two SSH sessions all along, I suppose. Another concern was more towards the specific nature of these projects, once I have to concern myself with graphics on a few tasks. For all I know it may not matter either way, but I had to check. I've been talking to someone else off list about that.</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Anyways, thanks for help! </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Sara<BR><BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: Alan Gauld <alan.gauld@btinternet.com><BR>To: tutor@python.org<BR>Sent: Sunday, July 22, 2007 4:39:51 AM<BR>Subject: Re: [Tutor] IDLE Usage - was Interpreter Restarts<BR><BR>
<DIV>"Sara Johnson" <sarliz73@yahoo.com> wrote<BR><BR>> I use an SSH editor set up by my school. If I type python at the <BR>> prompt in SSH,<BR>> I get the Python shell. My problem is, I can't open a GUI no matter <BR>> what<BR>> I subscribe to or purchase.<BR><BR>OK, Personally I'd forget about a GUI, its not that big a win for <BR>Python IMHO.<BR><BR>What I'd do instead is open two SSH sessions, in one of them I'd open <BR>a<BR>vim session (or emacs if you prefer) to edit my code. In the second <BR>window<BR>open a python interactive session for testing stuff. You can also use <BR>Unix<BR>job control to background this session if you need to test the <BR>scripts, or<BR>you can open a third SSH session with a Unix shell prompt. In practice<BR>that's how I do nearly all my serious Python programming on Windows<BR>- using 3 separate windows: vim, Pyhon and shell.<BR><BR>Try ideas
out in the Python session, copy those ideas into the editor <BR>and<BR>save the file and then run the code in the shell window. Repeat as <BR>needed.<BR><BR>> I have Python 2.3 and yes, I can access the commandline, but that <BR>> does<BR>> not work the way it's been described to work.<BR><BR>What is missing? It should work like any standard >>> prompt.<BR>However it will be the vanilla version without some of the nice extras<BR>that IDE shells often provide and depending on how your Python was<BR>built it may not offer GNU readline capability to recall previous <BR>commands etc.<BR><BR>Finally, If you really want to run an X GUI I'd recommend getting <BR>cygwin.<BR>Its big but it includes a near complete Unix/ X environment for your <BR>PC<BR>(including the fonts) as well as an SSH client and provi8ded your SSH<BR>server allows X to run - and many don't for security reasons - then it <BR>should<BR>work. You will have to issue the
xhosts incantations of course to tell <BR>the<BR>server to accept requests from your PC. Pesonally I think its more <BR>work<BR>than is worth it unless you will be doing a lot of work on that server <BR>over<BR>a long time..<BR><BR>My opinion for what its worth! :-)<BR><BR>-- <BR>Alan Gauld<BR>Author of the Learn to Program web site<BR><A href="http://www.freenetpages.co.uk/hp/alan.gauld" target=_blank>http://www.freenetpages.co.uk/hp/alan.gauld</A> <BR><BR><BR>_______________________________________________<BR>Tutor maillist - Tutor@python.org<BR><A href="http://mail.python.org/mailman/listinfo/tutor" target=_blank>http://mail.python.org/mailman/listinfo/tutor</A></DIV></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR></DIV></div><br>
<hr size=1>Choose the right car based on your needs.
Check out <a href="http://us.rd.yahoo.com/evt=48518/*http://autos.yahoo.com/carfinder/;_ylc=X3oDMTE3NWsyMDd2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDY2FyLWZpbmRlcg-- ">Yahoo! Autos new Car Finder tool.</a>
</body></html>