Create pstack.py