print_stack.py