Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

vs code run python in terminal invalid syntax

# type in terminal/console:
exit() 

'''
/usr/local/opt/python/bin/python3.7 /Users/andree/Desktop/test.py
  File "<stdin>", line 1
    /usr/local/opt/python/bin/python3.7 /Users/andree/Desktop/test.py
    ^
SyntaxError: invalid syntax
'''
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #code #run #python #terminal #invalid #syntax
ADD COMMENT
Topic
Name
1+9 =