Am I not seeing the Error?

Terry Reedy tjreedy at udel.edu
Sat Aug 10 23:07:33 EDT 2013


On 8/10/2013 10:19 PM, Devyn Collier Johnson wrote:
> I am checking my 1292-line script for syntax errors. I ran the following
> commands in a terminal to check for errors, but I do not see the error.
>
> collier at Nacho-Laptop:/media/collier/AI/Pysh$ python3 -m py_compile
> ./beta_engine
>    File "./beta_engine", line 344
>      JOB_WRITEURGFILES =
> multiprocessing.Process(write2file('./mem/ENGINE_PID', ENGINEPID);

That should be a comma; so should the next semicolon below.

> write2file(SENTEMPPATH, ''); write2file(INPUTMEM, ''));

This last one is 'correct', but delete it

> JOB_WRITEURGFILES.start()

and put this statement on a line by itself.


-- 
Terry Jan Reedy




More information about the Python-list mailing list