上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 36 下一页
摘要: 打开vscode界面 1.使用键盘按下ctrl + shift + p 2.添加语言,安装中文语言包,点击安装完重启就改为中文了 3.查看效果 阅读全文
posted @ 2021-08-22 09:08 lucky_tomato 阅读(150) 评论(0) 推荐(0) 编辑
摘要: import os BASE_DIR = os.path.dirname(os.path.abspath(__file__)) path_name = os.path.join(BASE_DIR, 'test.sh') print(path_name) 阅读全文
posted @ 2021-08-21 11:31 lucky_tomato 阅读(270) 评论(0) 推荐(0) 编辑
摘要: pip list 输出: APScheduler (3.6.3) chardet (3.0.4) distro (1.2.0) idna (2.7) Jinja2 (2.11.1) M2Crypto (0.35.2) MarkupSafe (0.23) msgpack (0.6.2) pip (9. 阅读全文
posted @ 2021-08-21 11:25 lucky_tomato 阅读(194) 评论(0) 推荐(0) 编辑
摘要: import paramiko print(paramiko.__version__) 知识小补充:版本中带有rc的含义RC=Release Candidate,含义是”发布候选版”,它不是最终的版本,而是最终版(RTM=Release To Manufacture)之前的最后一个版本。广义上对测试 阅读全文
posted @ 2021-08-21 11:25 lucky_tomato 阅读(625) 评论(0) 推荐(0) 编辑
摘要: import time help(time) 阅读全文
posted @ 2021-08-21 11:23 lucky_tomato 阅读(60) 评论(0) 推荐(0) 编辑
摘要: import os print(os.path.dirname(os.path.abspath(__file__))) 阅读全文
posted @ 2021-08-21 11:22 lucky_tomato 阅读(983) 评论(0) 推荐(0) 编辑
摘要: import os print(os.path.abspath(__file__)) 阅读全文
posted @ 2021-08-21 11:21 lucky_tomato 阅读(312) 评论(0) 推荐(0) 编辑
摘要: 脚本名字test.py print(__file__) 输出:test.py 阅读全文
posted @ 2021-08-21 11:17 lucky_tomato 阅读(333) 评论(0) 推荐(0) 编辑
摘要: 语言大概分为解释性语言和编译型语言,解释型语言大概就是指程序执行的时候,执行一句,翻译一句给机器编译型语言大概为在程序运行之前,预编译翻译为机器语言java和python是属于中间的那种,先将程序预编译为一种人类语言与机器语言之间的语言,当运行的时候再继续编译所以java有一个javac hello 阅读全文
posted @ 2021-08-21 11:14 lucky_tomato 阅读(232) 评论(0) 推荐(0) 编辑
摘要: import os pid = os.getpid() print('pid : ',pid) 阅读全文
posted @ 2021-08-21 11:13 lucky_tomato 阅读(2342) 评论(0) 推荐(1) 编辑
上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 36 下一页