코딩, 개발에 대한 기록 저장소

파이썬(Python) 에러 : EOL while scanning string literal


## 원인
일반적으로 흔하게 나오는 에러입니다.
괄호나 따옴표가 빠진 경우 나오며 보통 원인은 오타입니다.

File: helloworld.py
```python
print('Hello world)
```

아래는 위 helloworld 예제에서 문자열을 닫지 않았기 때문에 발생되는 에러 입니다.

```python
$ python helloworld.py

  File "/test.py", line 1
    print('Hello world)
                       ^
SyntaxError: EOL while scanning string literal
```