first.py파일 만들고 파이썬에서 재생시키려는데
Python 3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 22:20:52) [MSC v.1916 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> first.py
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'first' is not defined
라고 뜨면서 안 됩니다. 파이썬 버전은 3.7.2입니다.
또 해당 파일은 드래그해서 가져와도 안 됩니다.
>>> C:\Users\Ryan\Desktop\py4e\first.py
File "<stdin>", line 1
C:\Users\Ryan\Desktop\py4e\first.py
^
SyntaxError: unexpected character after line continuation character
>>>
또 명령 프롬프트에서 python이라고 쳐도 파이썬이 안 켜집니다.
어떻게 하죠?
comment