makesite icon indicating copy to clipboard operation
makesite copied to clipboard

error

Open dazzaji opened this issue 8 years ago • 2 comments

I get the error "Missing parentheses in call to 'print'" when I try to run "python (makesite.py)"

dazzaji avatar May 09 '17 02:05 dazzaji

You are probably using Python 3.x (which requires print => print())? The code was done using Python 2.7. An easy fix would be to add parenthesis to each 'print' statement. Just replace: print 'string' => print('string')

I'll see if I can update the code.

fspaolo avatar May 09 '17 04:05 fspaolo

I updated the code, try now (python makesite.py)

On Mon, May 8, 2017 at 7:21 PM, Dazza Greenwood [email protected] wrote:

I get the error "Missing parentheses in call to 'print'" when I try to run "python (makesite.py)"

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/fspaolo/makesite/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/AAg8KKgmbc2B7zGBPMSFDdk7_8hrgWFeks5r382-gaJpZM4NUunL .

-- Fernando Paolo NASA Jet Propulsion Laboratory California Institute of Technology

Web: fspaolo.net

fspaolo avatar May 09 '17 05:05 fspaolo