1、新建一个 将字符转换成对应的Unicode码.py 文件,如图所示:
3、获取字母 A 对应的Unicode码,代码:ord('A')
5、使用 print() 函数输出获取到的Unicode码,如图所示: