随笔分类 -  Python

摘要:仓库操作 初始仓库对象 from git import * repo = Repo(repo_path) assert repo.bare == False 创建裸库 repo = Repo.init(repo_path,bare=True) assert repo.bare == True 仓库数 阅读全文
posted @ 2020-10-13 22:19 maxweber 阅读(339) 评论(0) 推荐(0)
摘要:Python的种类以及其执行过程 先说我的理解:python是一个先编译再解释型语言。python.exe(python解释器)先将源码编译成字节码(.pyc,不是二进制码), 然后通过解释器解释成机器文件(二进制)。所以说python是一种先编译后解释的语言 Cpython Python的官方版本 阅读全文
posted @ 2020-07-14 09:47 maxweber