Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

remove key from dictionary

if 'key' in my_dict:
    del my_dict['key']
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #key #dictionary
ADD COMMENT
Topic
Name
3+4 =