Created
November 28, 2024 15:04
-
-
Save CIOSAI/e87fafb6b1f611c1c1e81cf370c1319d to your computer and use it in GitHub Desktop.
text2ascii.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# can be ran on python REPL | |
text = "ABC" | |
",".join(list(map(str,map(ord,text)))) | |
# returns "65,66,67" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment