paco's python codes