Skip to content

Instantly share code, notes, and snippets.

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