DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
string to ascii value python
>>> s = 'hi' >>> [ord(c) for c in s] [104, 105]
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#string
#ascii
#python
ADD COMMENT
Topic
COMMENT
Name
4+9 =
Submit