Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #52347

Re: Am I not seeing the Error?

From Terry Reedy <tjreedy@udel.edu>
Subject Re: Am I not seeing the Error?
Date 2013-08-10 23:07 -0400
References <5206F4AB.8050204@Gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.454.1376190470.1251.python-list@python.org> (permalink)

Show all headers | View raw


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@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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Am I not seeing the Error? Terry Reedy <tjreedy@udel.edu> - 2013-08-10 23:07 -0400

csiph-web