.pyc keeps running and never stops

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

    .pyc keeps running and never stops

    Dear All,

    I am using Python 2.5 and used py_compile to produce a .pyc file. The
    script runs well. However, the .pyc keeps running and never stops.
    Advices will be deeply appreciated.

    Regards.

    David
  • Tim Couper

    #2
    Re: .pyc keeps running and never stops

    On Nov 7, 10:40 am, Shao <shishaozh...@g mail.comwrote:
    Dear All,
    >
    I am using Python 2.5 and used py_compile to produce a .pyc file.  The
    script runs well.  However, the .pyc keeps running and never stops.
    Advices will be deeply appreciated.
    >
    Regards.
    >
    David
    perhaps you should include the source that you are trying to
    compile... unlikely to get advice without some specifics ..

    Tim

    Comment

    • Terry Reedy

      #3
      Re: .pyc keeps running and never stops

      Shao wrote:
      Dear All,
      >
      I am using Python 2.5 and used py_compile to produce a .pyc file. The
      script runs well. However, the .pyc keeps running and never stops.
      Advices will be deeply appreciated.
      You have either an infinite loop or a computation that runs longer than
      your patience. If I could not immediately see the problem, I would
      probably sprinkle the code with print statements 'here1', 'here2'...
      to find the problem area.

      Comment

      Working...