This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import plistlib | |
import datetime | |
class CCBReal: | |
def __init__(self, value): | |
self.value_raw = value | |
self.value = float(value) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# coding=utf-8 | |
# Python 2.7.3 | |
import os,sys,json | |
import zipfile | |
import shutils | |
HOME = os.path.expanduser("~") | |
CACHE_ROOT = os.path.join(HOME, ".lua_compile") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Implementation of JSONEncoder | |
""" | |
import re | |
try: | |
from _json import encode_basestring_ascii as c_encode_basestring_ascii | |
except ImportError: | |
c_encode_basestring_ascii = None | |
try: | |
from _json import make_encoder as c_make_encoder |