Last active
May 12, 2020 07:15
-
-
Save jugmac00/7a2967d66b5a3a34edf7007228bf58b9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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