Update pion.py