DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to split text into list python by characters
txt
=
"foobar"
print
(
list
(
txt
)
)
# ["f", "o", "o", "b", "a", "r"]
PREVIOUS
NEXT
Tagged:
#split
#text
#list
#python
#characters
ADD COMMENT
Topic
COMMENT
Name
2+6 =
Submit