프로그래밍/Python

unsupported format character ';' (0x3b) at index 216

이재만박사 2024. 2. 20. 13:28

ValueError: unsupported format character ';' (0x3b) at index 216

 

이렇게 나오면 파이썬에서 % 가 escape 문자이기 때문에 수정해야 한다

 

width: 100%; 

 

대신에

 

width: 100%%;

 

이렇게 써야 나온다