
python
Andyjicw
简书: https://www.jianshu.com/u/c8417ee11cab
GitHub: https://github.com/Andyjicw
展开
-
pip常见的使用方法
pip升级自己:$ pip install --upgrade pip查找与安装:使用search、install这两个参数。安装到用户目录:$ pip install pkg_name --user查看某个库的信息:$ pip show Jinja2---Name: Jinja2Version: 2.7.3Location: /path/t...原创 2018-05-11 17:29:04 · 4187 阅读 · 0 评论 -
python中查看变量内存地址的方法
id(object) -> integerReturn the identity of an object. This is guaranteed to be unique amongsimultaneously existing objects. (Hint: it's the object's memory address.) 使用:id(obj) id(o...原创 2018-05-11 17:30:43 · 20041 阅读 · 0 评论