<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Grant,<div><br></div><div>Typing the following opens IDLE (albeit after a short delay; the command will immediately return regardless) for me:</div><div><br></div><div>  C:\> C:\Python26\lib\idlelib\idle.bat</div><div><br></div><div>IDLE is also installed in the Start Menu for ActivePython.</div><div><br></div><div>You need at least ActivePython 2.6.6.15 or 2.7.0.2 for this to work.</div><div><br></div><div>-srid</div><div><br><div><div>On 2010-10-19, at 12:06 PM, Grant Andrew wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">1. Okay, I can open the interpreter and do math.  If only I needed the answer to 6*7 I'd be great.  But, to your point, Python is installed and working.<div><br></div><div>2.  When I went to the shortcut and hit properties, the path was </div>
<div><br></div><div>Target: C:\Python26\Lib\idlelib\idle.bat</div><div>Start in: C:\Python26\</div><div><br></div><div>I cd'd to C:\Python26\ at the command prompt and ran Lib\idlelib\idle.bat.</div><div><br></div><div>
It just reprints C:\Python26\ with no error or message.  Looks like this:</div><div><br></div><div>C:\Python26>Lib\idlelib\idle.bat</div><div>C:\Python26><br><div><br></div><div>3.  I created a simple file in Wordpad that prints a few lines.  It is called Print.py but I'm not sure where the 'code' folder is.  I'm not familiar enough with Python to locate a file from the Interpreter and open it.  <br>
<div><div><br></div><div>4.  I also tried editing the PATH variable, which did have both versions in it, but with no success - same error.  <div><br></div><div><br></div><div>Thanks for your help...</div><div><br></div><div>
Grant</div><div><br><div><br><div class="gmail_quote">On Sun, Oct 17, 2010 at 4:17 AM, Dave Angel <span dir="ltr"><<a href="mailto:davea@ieee.org">davea@ieee.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"> On 10/16/2010 11:27 PM, Grant Andrew wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
I hear that...God knows if I had a more complete question, I'd type it -<br>
basically, when I click the IDLE GUI icon from the Start Menu, there is a<br>
flash of a command prompt loading, then nothing happens.<br>
<br>
I've tried a number of things at the command prompt over the last two weeks<br>
and five versions.  I went to ActiveState because I was thinking I had not<br>
configured something properly in the <a href="http://Python.org">Python.org</a> versions, however, the<br>
behavior is the same.<br>
<br>
I ran C:\>C:\python26\lib\idlelib\idle.py at the command prompt and that<br>
returned:<br>
<br></div>
<snip><br>
</blockquote>
<br>
You probably need to start with fundamentals.  That means using a command prompt.  As you've noticed, many times a program started from the start menu doesn't leave its command window open long enough to read the messages.<br>

<br>
I'm afraid I can't really help with Idle;  I've never tried using it, till today.  When I start if from ActiveState's menu, it flashes and exits for me as well.  Perhaps because we both have Thinkpads.  I notice the IBMTools directory in your traceback.  Perhaps there's an old version of TCL there that's interfering with the one Idle needs.  To start debugging it, figure out what the menu shortcut is doing, and do it yourself from a command window.  In my case,  StartIdle-right-click->properties->shortcut shows me:<br>

<br>
Target  C:\Progfiles\ActivePython26\Lib\idlelib\idle.bat<br>
Start in:  c:\progfiles\activePython26<br>
<br>
So you CD to the latter directory (or rather, to your equivalent one), and type lib\idlelib\idle.bat<br>
<br>
When I do that, I get an error message: "IDLE's subprocess didn't make connection.  Either IDLE can't start a subprocess or personal firewall software is blocking."<br>
<br>
But let's get your python itself working.  ActivePython's install adds itself to your path, so you should be able to just type<br>
     python<br>
  or   python26<br>
<br>
at the C: prompt, and get a Python interpreter prompt.  Then do something like<br>
>>> print 3*4<br>
<br>
to see if it's working.<br>
<br>
Next, write a small xxx.py  program, in your code directory, and NOT in the Python install directory.  From that code directory, type<br>
     python  xxx.py<br>
<br>
or whatever you called it.  Let us know if it works.<br>
<br>
Only then should you worry about associations.  You can check them with assoc and ftype, but people tell me that's not reliable if there is more than one user on the machine, or specifically if you have created user-specific associations, which take precedence over the ones in assoc and ftype.<br>

<br>
DaveA<br>
<br>
<br>
</blockquote></div><br></div></div></div></div></div></div>
-- <br><a href="http://mail.python.org/mailman/listinfo/python-list">http://mail.python.org/mailman/listinfo/python-list</a><br></blockquote></div><br></div></body></html>