Kent Johnson wrote:
In this thread or an earlier one? pythonwin?On Sun, Oct 12, 2008 at 8:34 PM, Wayne Watson <[EMAIL PROTECTED]> wrote:What's more likely TO run python/Tkinter with graphics than IDLE? It gives me the same info as HERE below.See my previous suggestions.I'm looking at py2exe right now, but that seems useful for a completed program. On that topic, I noticed that my Start->All Progs menu item now, possibly it was there before I installed p2exe, a Python2.4 item show a Command Line sub-item.OK, choosing that will open a Python interpreter with a >>> prompt. What happens if you type import pylab at the prompt? Please try that and copy and paste the results to an email. I've finally figured out to use the Start->Run to get at the python program. I just tried a slight variation on: C:\Python24\python \path\to\myprogram.py gets nowhere. The post above that corrected this got posted first because of the ol' Reply or Reply All mix up.What happens when you try it? Please be specific. "gets nowhere" <- corrected in mixup post. doesn't tell me much. "Gets nowhere" should have been omitted. I just about did it (single Reply) here again, but noticed you were the only recipient. Now I've added tutor. HEREI copied the program int c:\pytho24. I don't seem to be able to copy the window, so I see pretty much what I had before, except it adds: Fatal Pyton error: Pystring_InterInPlace: strings only please! The rest is about the run time error. Those are the details. I've mentioned the "rest" previously. I think the underlined portion I just made is where the meat is. Something is wrong in IDLE or python. I have no idea. Thanks for the help, but I think I'm dropping out of the graphics inquiry. The "critique' program can live without graphics for awhile. I had some hope it would be easy to put in a scatter diagram, at minimum. This is a detour that I can deal with much later. Yes (below), command lines are surprisingly baffling. I've used the Win Run cmd lines before, but once one gets into using them like DOS, it's a bit weird. Apparently, command line operation means something a bit different in python (As I noticed a few minutes ago when I used the python command line facility on the Start->All P.. menu). So noted, and bookmarked. I changed the misleading title (Windows FAQ) so that I can find it later.Details, please. You seem to be struggling with some fundamentals of the command line and running programs. This might help: http://www.python.org/doc/faq/windows/#how-do-i-run-a-python-program-under-windows Kent Onward ... --
Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.01 Deg. W, 39.26 Deg. N) GMT-8 hr std. time) "Things are going to get a lot worse befoe they get worse." -- Lily Tomlin Web Page: <www.speckledwithstars.net/> |
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor