摘要: 获取图片属性详细信息,通过PIL库实现,PIL库为2.9.0(3.0版本以下) python代码实现 #-*-coding:utf8-*- from PIL import Image from PIL.ExifTags import TAGS img = Image.open("img.jpg") 阅读全文
posted @ 2016-02-21 14:35 lyjsy 阅读(4536) 评论(0) 推荐(0) 编辑
摘要: python实现ttf文件属性详细信息 1 import sys 2 from fontTools import ttLib 3 4 def shortName( font ): 5 name = "" 6 7 ret = [] 8 for record in font['name'].names: 阅读全文
posted @ 2016-02-21 14:35 lyjsy 阅读(1622) 评论(0) 推荐(1) 编辑
摘要: Putty 启用putty keepalive putty -> Connection -> Seconds between keepalives ( 0 to turn off ),默认为0,改为60。 更改ssh服务器的配置文件/etc/ssh/sshd_config ClientAliveIn 阅读全文
posted @ 2016-02-21 14:35 lyjsy 阅读(1072) 评论(0) 推荐(0) 编辑