예제 #1
0
파일: star.py 프로젝트: craigyk/pystar
def save(document, path):
    with open(path, 'w') as dst:
        dst.write(encode_blocks(document))
예제 #2
0
파일: star.py 프로젝트: craigyk/pystar
def encode_document(document):
    return encode_blocks(document)