Re: python vs pythonw



On Nov 30, 3:30 am, John Velman <vel...@xxxxxxx> wrote:
New to mac. I have leopard. What's the difference between python and
pythonw? So far (which isn't very far) I can't tell the difference.

I have a small application using TKinter that I was working on under
Linux. Both python and pythonw run it, but on both it "stops
responding" (pinwheel of death) when I touch the vertical scrollbar.

On Windows, python runs in console mode (and pops up a console window
if you're not executing the script from a console already), pythonw
runs the script as a background process. I'd imagine that it is the
same for the Mac, and I shouldn't think it has anything to do with
your problem here.

--
Ant.
.



Relevant Pages

  • RE: python.exe vs pythonw.exe difference?
    ... [moving this from comp.lang.python to zope-dev; it really belongs on a ... Zope list, although schemes to change what pythonw does probably belong ... >> console app it works fine, but when run windowless it doesn't. ...
    (comp.lang.python)
  • BUG pythonw vs subprocess
    ... There seems to be a problem with calling subprocesses from a script run with pythonw rather than python. ... print 'stdout IN THE CHILD', os.getpidprint>>sys.stderr, 'stderr IN THE CHILD', os.getpid#end of proc1 ...
    (comp.lang.python)
  • Re: python.exe vs pythonw.exe difference?
    ... although schemes to change what pythonw does probably belong ... > console = sys.stdout ... > Traceback: ... stdout and stderr provided by MS C in that case are unusable ...
    (comp.lang.python)
  • Re: Help running pythonw from a command prompt with arguments
    ... CREATE stdio window vs "pythonw" suppressing that window. ... Since you already have a console window the use of "pythonw" is ... "pythonw" would suppress the window expecting the program to ...
    (comp.lang.python)
  • Re: Detecting a GUI session
    ... I would like to know this so I can redirect stderr when their is no ... console window (pythonw) otherwise leave it spitting to the console ... integrated exe file - which we do for our release builds). ...
    (comp.lang.python)