Skip to content

Instantly share code, notes, and snippets.

@jugmac00
Last active May 12, 2020 07:15
Show Gist options
  • Save jugmac00/7a2967d66b5a3a34edf7007228bf58b9 to your computer and use it in GitHub Desktop.
Save jugmac00/7a2967d66b5a3a34edf7007228bf58b9 to your computer and use it in GitHub Desktop.
# fun_with_pdb.py
if __name__ == '__main__':
import pdb;pdb.set_trace()
# create a text file: input.txt
"hello from text file"
# then enter following command in your terminal
# python3 fun_with_pdb.py < input.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment