上篇我们讲到embedded版本的基础操作 CodingDog:pyinstaller打包的exe太大?你需要嵌入式python玄学 惊喜篇zhuanlan.zhihu.com 可是却没有办法用pip安装必要的库 去看一下官方文档怎么说的 version of python do not supports pipdocs.python.org 嗯...不支持 不光如此,Tcl/tk也是不给你滴... 可是谁甘心只用标准库敲代码?卒都不知道怎么卒的··· 关键是他,,,他掉头发呀 程序猿(媛)…
Python之str()与repr()的区别 str()一般是将数值转成字符串,主要面向用户. repr()是将一个对象转成字符串显示,注意只是显示用,有些对象转成字符串没有直接的意思.如list,dict使用str()是无效的,但使用repr可以,这是为了看它们都有哪些值,为了显示之用,主要面向python. 官方文档: The str() function is meant to return representations of values which are fairlyhuman-…