首页 > TAG信息列表 > 20190218

20190218

vim文本编辑器文本:纯文本,ASCII,TEXT,unicode 文本编辑器行编辑器:sed全屏编辑器:nano,vi,vimvi=Visual InterfaceVim=UI Impovedvim编辑器模式编辑模式:1命令模式2输入模式3末行模式:内置的命令接口打开文件vim"#"光标定位于行上/PATTERN 第一个模式转换:编辑模式:默认模式编辑模式--》输

Python 之 shutil模块使用

shutil模块作用 1、快速的文件复制 2、快速的文件压缩 3、快速的文件目录递归复制 代码 #Author Kang import shutil #把当目录下的nginx.conf文件复制到另外一个目录,并重命名 shutil.copyfile('nginx.conf','/Users/kang/Desktop/nginx.conf.bak') #把base_dir的目录20190218打

20190218-学习python使用shelve遇到raise error, "db type could not be determined"

照书上敲代码,运行了提示raise error, "db type could not be determined",现场如下: ubuntu-vm:~/code/massageboard$ python Python 2.7.6 (default, Nov 13 2018, 12:45:42) [GCC 4.8.4] on linux2 Type "help", "copyright", "credits" or &qu