티스토리 뷰

728x90
if some_string:

https://stackoverflow.com/questions/9573244/how-to-check-if-the-string-is-empty

 

How to check if the string is empty?

Does Python have something like an empty string variable where you can do: if myString == string.empty: Regardless, what's the most elegant way to check for empty string values? I find hard codin...

stackoverflow.com

 

728x90

'공부' 카테고리의 다른 글

[Scala] foreach Map  (0) 2022.08.31
[MySQL] INSERT ... ON DUPLICATE KEY UPDATE ...  (0) 2022.08.31
[python] slack chat & files  (1) 2022.08.31
[aws] s3 cp github action (workflow)  (0) 2022.08.31
[MySQL] id 컬럼 데이터타입 INT? BIGINT?  (0) 2022.08.31
댓글