Skip to content

Instantly share code, notes, and snippets.

View seanlaw's full-sized avatar

Sean M. Law seanlaw

View GitHub Profile
#!/usr/bin/env python
import argparse
def parse_orders(fname, outname=None, encoding="Windows-1252"):
if outname is not None:
fout = open(outname, "w")