摘要:
#!/usr/bin/env python# -*- coding: utf-8 -*- import operatorfrom pymongo import MongoClientimport sysreload(sys)sys.setdefaultencoding("utf-8") DBC_W_ 阅读全文
posted @ 2017-06-21 10:28
三里路异乡客
阅读(228)
评论(0)
推荐(0)
摘要:
#!/usr/bin/env python# -*- coding: utf-8 -*-from PIL import Imageimport os def getImgSize(): imgPath = "/home/siyin/ownCloud/小游戏/设计/填色小游戏/测试素材库/" sava 阅读全文
posted @ 2017-06-21 10:26
三里路异乡客
阅读(208)
评论(0)
推荐(0)
摘要:
#!/usr/bin/env python# -*- coding: utf-8 -*- import osfrom wand.image import Imagefrom struct import * def pdfToPng(): path = "/home/siyin/素材库各20例/" l 阅读全文
posted @ 2017-06-21 10:24
三里路异乡客
阅读(2394)
评论(0)
推荐(0)
摘要:
#!/usr/bin/env python # -*- coding: utf-8 -*- import Image import os def imageYasuo(srcPath,dstPath): for filename in os.listdir(srcPath): # 如果不存在目的目录 阅读全文
posted @ 2017-06-21 10:18
三里路异乡客
阅读(874)
评论(0)
推荐(0)
摘要:
1、图片地址为下载地址访问图片地址可直接下载的 #!/usr/bin/env python # -*- coding: utf-8 -*- import urllib2 import json import requests import os import sys from time import 阅读全文
posted @ 2017-06-21 10:11
三里路异乡客
阅读(515)
评论(0)
推荐(0)

浙公网安备 33010602011771号