Skip to content

This Repository is a collection of different ethical hacking tools and malware's for penetration testing and research purpose written in python, ruby, rust, c++, go and c.

909 B
Raw Blame

title: Python ord() built-in function - Python Cheatsheet description: Given a string representing one Unicode character, return an integer representing the Unicode code point of that character.

Python ord() built-in function From the Python 3 documentation Given a string representing one Unicode character, return an integer representing the Unicode code point of that character.

Examples

>>> ord('1')
# 49
>>> ord('a')
# 97