dos box appears when clicking .pyc

Tim Roberts timr at probo.com
Sun Feb 13 03:28:23 EST 2005


"Philippe C. Martin" <philippecmartin at sbcglobal.net> wrote:
>
>For a few months now, I have been used .pyc script under XP without
>getting the "DOS" box.

You don't usually click on .pyc scripts.  You click on .py and .pyw
scripts.  .pyw files will not bring up a DOS box.

If you really want .pyc files to run without a DOS box, bring up a command
shell and type

    assoc .pyc=Python.NoConFile

(Actually, you should type "assoc .pyw" to make sure that is its file
type.)
-- 
- Tim Roberts, timr at probo.com
  Providenza & Boekelheide, Inc.



More information about the Python-list mailing list