DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python delete dict key if exists
mydict.pop("key", None)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#python
#delete
#dict
#key
#exists
ADD COMMENT
Topic
COMMENT
Name
3+9 =
Submit