DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python check if variable is iterable
from collections import Iterable def iterable(obj): return isinstance(obj, Iterable)
PREVIOUS
NEXT
Tagged:
#python
#check
#variable
#iterable
ADD COMMENT
Topic
COMMENT
Name
2+6 =
Submit