How do I read in a file from python at the command line? So let’s say i have a text.txt file and I want to do $ python prefixer.py text.txt, how would I read in the text file in my prefixer.py?
How do I read in a file from python at the command line? So
Share
or, better,