- 博客(6)
- 收藏
- 关注
转载 python远程调试
本介绍了使用PyCharm进行远程debug的方法,实现本地写代码,远程服务器训练模型和调试代码的功能。 有这么一个应用场景,你的代码需要在服务器端运行,因为运行环境安装的依赖库都在远端服务器上,而写代码的工作在本地的平台上更顺手。在此之前都是用Visual Studio ...
2019-05-21 19:59:00
2941
转载 python snack
将字典变为类 def obj_dic(d): top = type('new', (object,), d) seqs = tuple, list, set, frozenset for i, j in d.items(): if isin...
2018-04-09 13:57:00
260
转载 pycharm+git
利用pycharm+git进行版本控制与团队合作 说明:此方法适合与本地已有项目,创建远程仓库。 一 1.确定本地装有git,输入一下命令,正确返回版本信息 git --version 如果没有,运行安装命令 sudo apt-get install git 二 1.打开...
2017-12-07 20:15:00
122
转载 python web 开发实践 读书笔记
一,建立虚拟运行环境工具(virtualenvwrapper) 1,使用此工具需要对shell配置文件进行相应修改 if [ -f /usr/local/bin/virtualenvwrapper.sh ]];then export WORKON_HOME=$HOME/.virtualenvs...
2017-11-27 22:53:00
138
转载 uwsgi自动化脚本
转自http://blog.youkuaiyun.com/foryouslgme/article/details/54847660 uwsgi默认情况下,启动之后,只能使用kill进行关闭,为了使uwsgi的启动关闭和linux中其它服务一样,可以使用shell脚本进行配置,脚本如下: vim tes...
2017-11-13 23:13:00
224
转载 django +nginx+uwsgi 的坑
说明:本文适用于用命令安装nginx 一,安装并配置nginx (参考https://www.cnblogs.com/fnng/p/5268633.html),其中有一些不同,防止跟我一样的新手入坑. sudo apt-get install nginx 1,这种方式安装的nginx 配...
2017-11-09 23:40:00
135
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人