python vs pythonw

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John Velman

    #1

    python vs pythonw

    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.

    Thanks,

    John Velman
  • =?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=

    #2
    Re: python vs pythonw

    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.
    IIUC, pythonw is linked with the WindowManager library, so it can do
    GUI operations; python can't.
    I have a small application using TKinter that I was working on under
    Linux.
    X11 Tk or Aqua Tk? If Aqua Tk, this would contradict to my theory above.

    Regards,
    Martin

    Comment

    • Ant

      #3
      Re: python vs pythonw

      On Nov 30, 3:30 am, John Velman <vel...@cox.net 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.

      Comment

      • has

        #4
        Re: python vs pythonw

        On 30 Nov, 06:16, "Martin v. Löwis" <mar...@v.loewi s.dewrote:
        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.
        >
        IIUC, pythonw is linked with the WindowManager library, so it can do
        GUI operations; python can't.
        True for Python 2.3.x and earlier. This limitation went away in 2.4,
        however, and pythonw is now kept around solely for compatibility with
        older scripts that still refer to it.


        HTH

        has
        --


        Comment

        Working...