上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 33 下一页
摘要: 使用mail: 使用mutt: from:https://linux.cn/article-5502-1.html 阅读全文
posted @ 2018-04-04 09:59 Go_Forward 阅读(170) 评论(0) 推荐(0) 编辑
摘要: https://askubuntu.com/questions/363346/how-to-permanently-switch-caps-lock-and-esc This will allow you to use the caps:swapescape syntax and automatic 阅读全文
posted @ 2018-03-30 18:02 Go_Forward 阅读(259) 评论(0) 推荐(0) 编辑
摘要: Ctrl + Home: 移动到文件开始 Ctrl + End: 移动到文件结尾 Alt + Home: 文件路径标签 Alt + Up/Down : 上一个方法/下一个方法 Ctrl + [/]: 移动到代码块开头/移动到代码块结尾 Shift + Left/Right/Down/Up: 选择文本 阅读全文
posted @ 2018-03-30 15:15 Go_Forward 阅读(245) 评论(0) 推荐(0) 编辑
摘要: python catch socket timeout 阅读全文
posted @ 2018-03-27 12:02 Go_Forward 阅读(325) 评论(0) 推荐(0) 编辑
摘要: /etc/init.d/postgresql restart 阅读全文
posted @ 2018-03-26 20:00 Go_Forward 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 用法: 将string中符合pattern的部分用repl替代。 阅读全文
posted @ 2018-03-23 18:02 Go_Forward 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 由于写入磁盘是一个比较耗时的操作,多次写入少量数据与一次写入大量数据相比,所需的时间更久,所以大部分程序在处理写入的时候都会将写入的数据进行缓存,等到缓存满了之后再写入磁盘,python在使用open打开文件进行写入时会自动进行缓存。 下面的代码,在程序运行开始后一段时间,只有写入的文件名,文件大小 阅读全文
posted @ 2018-03-22 14:49 Go_Forward 阅读(697) 评论(0) 推荐(0) 编辑
摘要: from: https://www.digitalcitizen.life/connecting-windows-remote-desktop-ubuntu NOTE: This tutorial was created on Ubuntu 13.04 (Raring Ringtail). it i 阅读全文
posted @ 2018-03-22 11:50 Go_Forward 阅读(318) 评论(0) 推荐(0) 编辑
摘要: 1.导入上一级目录的package 2.导入其它目录的package 方法1和方法2都是依赖于在sys.path中添加包所在的路径,只要在sys.path中找到通向模块的路径,就可以实现导入。 3.使用full path 导入package 使用这种方法可以导入后缀不是py结尾的包。 阅读全文
posted @ 2018-03-20 19:54 Go_Forward 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 使用正则表达是查找汉字之前,要将所有的字符串都转码成utf8 阅读全文
posted @ 2018-03-19 17:00 Go_Forward 阅读(1163) 评论(0) 推荐(0) 编辑
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 33 下一页