Skip to content

Instantly share code, notes, and snippets.

@sycx
sycx / alipay_acclog.py
Created February 28, 2016 19:14
Import Alipay ACCLOG file to beancount
#!/usr/bin/env python3
import sys
import csv
import argparse
import datetime
def _amount_match(a1,a2):
d1 = float(a1) if a1 else 0