Skip navigation.
Half-baked opinions, served lukewarm.

Alternatively

Since Windows runs programs based on extension and not MIME-type, setting the first line in the script to:

#!c:\python24\pythonw.exe 

will do the same thing.

Python for Windows associates *.py with python.exe and *.pyw with pythonw.exe.

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <b> <i> <li> <ol> <ul> <p> <pre> <br> <blockquote> <hr> <img> <h1> <h2> <h3> <strong> <font> <div>
  • Web and e-mail addresses are automatically converted into links.
  • Lines and paragraphs break automatically.
More information about formatting options Captcha Image: you will need to recognize the text in it.
Please type in the letters/numbers that are shown in the image above.