17
dict에서 빈 문자열로 키를 제거하는 효율적인 방법
사전이 있고 빈 값 문자열이있는 모든 키를 제거하고 싶습니다. metadata = {u'Composite:PreviewImage': u'(Binary data 101973 bytes)', u'EXIF:CFAPattern2': u''} 이를 수행하는 가장 좋은 방법은 무엇입니까?
116
python
dictionary