paco2.py: initial version