GAE

jpeg_DHTstrip.py

GAE

JPEGからDHTを削除するプログラム。 #!/usr/bin/env python import webapp2 import logging def DHTstrip(data): s = "" pos = 0 while pos < len(data): c = data[pos] pos += 1 if c != '\xff': # mark s += c continue c = data[pos] pos += 1 if c in '\…

gae_PachubeClient_debug.py

GAE

#!/usr/bin/env python # -*- coding: utf-8 -*- # gae_PachubeClient_debug.py 2012.4.21 import logging import os import re import time import datetime import StringIO from google.appengine.ext import db from google.appengine.ext import webapp…