Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

convert to ascii

#python 3.x
text = input("enter a string to convert into ascii values:")
ascii_values = []
for character in text:
    ascii_values.append(ord(character))
print(ascii_values)
Comment

PREVIOUS NEXT
Code Example
Python :: python sort 2d list different sort order for different columns 
Python :: run julia in p;ython 
Python :: how to use a for loop in python 
Python :: enum python string 
Python :: ttktheme example 
Python :: vigenere cipher with all printable characters python 
Python :: how to join basename and directory in python os 
Python :: python flatten one liner 
Python :: Setting up WingIDE to debug Flask projects 
Python :: python test class hashable 
Python :: python remove header 
Python :: telegram.ext package 
Python :: change a color on touch roblox 
Python :: python requests with authorisation token 
Python :: python basic programs kilometers to miles 
Python :: py var to the power of 
Python :: python enumerate() 
Python :: pyqt button hover color 
Python :: python detect script exit 
Python :: creating a dictionary from lists 
Python :: python try 
Python :: check file existtnece python 
Python :: pydub create empty track 
Python :: activate python venv in windows 
Python :: get last save id django model 
Python :: cv2 remove black borders on images 
Python :: python switch 
Python :: create a list of sequential numbers in python 
Python :: python function overloading 
Python :: subprocess the system cannot find the file specifie 
ADD CONTENT
Topic
Content
Source link
Name
3+3 =