python
vito0319
博客内容都是个人学习的笔记,为了方便自己查阅,博客内容的完整性和连贯性欠佳,各位勿怪!
展开
-
Python Pecan框架
1、安装更改pip镜像源mkdir ~/.pipecho """[global]trusted-host=mirrors.aliyun.comindex-url=http://mirrors.aliyun.com/pypi/simple/""" >> ~/.pip/pip.conf原创 2019-01-23 15:52:04 · 5532 阅读 · 0 评论 -
liunx查看python的site-packages路径
[root@localhost neutron]# pythonPython 2.7.5 (default, Oct 30 2018, 23:45:53) [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)] on linux2Type "help", "copyright", "credits" or "license" for more information....原创 2019-02-20 17:03:10 · 2145 阅读 · 0 评论 -
debug
1、python pdb 远程调试调试环境搭建,安装pipsudo yum -y install epel-releasesudo yum -y install python-pip安装python的调试模块pdb:pip install remote_pdb容器中安装可以执行下面的命令docker exec -it -u root neutron_l3_agent pip ins...原创 2019-09-21 18:34:43 · 242 阅读 · 0 评论 -
git 命令
1、打patch(git format-patch)$ git format-patch HEAD^ #生成最近的1次commit的patch$ git format-patch HEAD^^ #生成最近的2次commit的patch$ git format-patch HEAD^^^ #生成最近的3次co...原创 2019-09-21 18:41:28 · 775 阅读 · 0 评论