Python学习 过程中零散知识点的总结

  自学资料比较零碎,本文是对在Python学习过程中积累的零零散散的知识点的总结

======================================================================

1.  关于编码的简单介绍

  unicode  --   万国码

  utf-8     --  数字、字符用8位,欧洲字符16位来存,中文3个字节24

  unicode  -->  utf-8   编码 encode

  utf-8    -->  unicode  解码 decode

 2. 几种Python语言(只写了三种还有很多,比如很火的pypy)

  Cpython  

  print("hello!") -->  c解释器  --> .pyc (字节码)-->  CPU

  Jpython  -->   jave解释器 --> Java字节码 --> 机器码 -->  CPU

  Ironpython  --> C#解释器 --> C#字节码 -->  机器码 --> cpu

 

 

 

 

 

 

 

 

 

 

 

 

原文地址:https://www.cnblogs.com/Bro-Young/p/5797244.html