아미(아름다운미소)

Python 빈 리스트 확인하는 방법 본문

랭귀지/PYTHON

Python 빈 리스트 확인하는 방법

유키공 2021. 1. 8. 12:26

빈 Sequence(String / Tuple / List)는 False 값을 가집니다.
if not xxx:
   print("List xxx is Empty")

'랭귀지 > PYTHON' 카테고리의 다른 글

Using Chunksize in Pandas  (0) 2022.03.13
django That port is already in use  (0) 2021.02.02
PyDev Undefined variable from import error  (0) 2020.12.15
Importing the numpy c-extensions failed  (0) 2020.12.11
Ubuntu에서 pip, pip3 설치  (0) 2020.10.28
Comments