07 2018 档案

摘要:# map """ map(func, *iterables) --> map object Make an iterator that computes the function using arguments from each of the iterables. Stops when the shortest iterable is exhausted... 阅读全文
posted @ 2018-07-28 15:50 PLAY_JOY 阅读(487) 评论(0) 推荐(0)
摘要:#批量注释 Ctrl + V ,然后用方向键选中范围 Shit + i ,进入编辑模式,输入# esc 让注释生效 #批量取消注释 Ctrl + V ,然后用方向键选中范围, x esc 让注释生效 #定位到某一行 vim +n filename # 定位到第15行,vim +15 hello_world.py# 清屏clear# 刷新终端屏幕reset ... 阅读全文
posted @ 2018-07-25 22:25 PLAY_JOY 阅读(370) 评论(0) 推荐(0)
摘要:# 在我centos上装有两个python版本 # 我在~/py3/目录下创建虚拟环境,该目录为python3的一个独立环境 [root@localhost /]# cd home [root@localhost home]# cd /py3/ # 没有py3的话,创建 [root@localhost home]# mkdir py3 [root@localhost home]# cd ... 阅读全文
posted @ 2018-07-22 17:50 PLAY_JOY 阅读(502) 评论(0) 推荐(0)