Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python ascii

# ascii function returns an ASCII-only representation of an object that is printabl
print(ascii('A'))
# 'A'

print(ascii('ë'))
# output 'xeb'

print(ascii(['A', 'ë']))
# output ['A', 'xeb']

print(ascii('Aë'))
# output 'Axeb'
Source by www.codefreelance.net #
 
PREVIOUS NEXT
Tagged: #python #ascii
ADD COMMENT
Topic
Name
7+6 =