Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python delete key if exists

 mydict.pop("key", None)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #delete #key #exists
ADD COMMENT
Topic
Name
5+4 =