摘要:
使用相对的的 import 方式,只能在包里面;这样 “.” 就会按照name 找路径; 如果主main运行的话 就找不到路径了。 包含相对路径import 的python脚本不能直接运行,只能作为module被引用。原因正如手册中描述的,所谓相对路径其实就是相对于当前module的路径,但如果直接 阅读全文
posted @ 2017-12-21 23:32
willowj
阅读(6335)
评论(0)
推荐(0)
摘要:
GitHub desktop 管理 GitHub的仓库非常方便 ;适合新手 clone: 登录GitHub账户后,file>clone repository> 从账户 或者 url file > new: 新建 file > add : 添加本地 clone: 登录GitHub账户后,file>cl 阅读全文
posted @ 2017-12-21 20:46
willowj
阅读(7289)
评论(0)
推荐(0)

浙公网安备 33010602011771号