- 博客(3)
- 收藏
- 关注
原创 计算运行时间
import datetime start = datetime.datetime.now() # Your task end = datetime.datetime.now() print("Time used:") print(end - start)
2019-10-12 17:36:50 155
原创 Git常用命令
克隆仓库 git clone http://git.oschina.net/yiibai/git-start.git git clone http://git.oschina.net/yiibai/git-start.git mygit 管理已有仓库 # 初始化 git init # 跟踪文件/将文件放到暂存区 git add hello.py git add FileFold # 暂存所有文...
2019-10-12 17:34:30 113
原创 pip升级所有包
import pip from subprocess import call from pip._internal.utils.misc import get_installed_distributions for dist in get_installed_distributions(): call("pip install --upgrade " + dist.project_name...
2019-10-12 17:28:20 3010
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人