Calling Python from Python and .pyc problem

Tim Roberts timr at probo.com
Sat Nov 8 19:39:24 EST 2008


David Shi <davidgshi at yahoo.co.uk> wrote:
>
>Hello, there.I am using Python 2.5.  I used py_compile and made a .pyc
>file.

Just in case the advice from Terry was too subtle, I'd like to spell it
out.  Python scripts do not need to be compiled.  The interpreter runs the
.py file directly.

>However, it runs but never stops.

WHAT runs but never stops?  The script you attached certainly stops.  Post
your exact code, and we'll help you identify your infinite loop.
-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the Python-list mailing list