Whenever I use pdf2txt.py on my command line the source file opens and the command does not execute. I've just installed the packages and haven't been able to get it to run. For example, I will type the command:
pdf2txt.py -c UTF-8 output.txt "my file.pdf"
after typing the command, the file pdf2txt.py will open and the command won't execute. Has anyone encountered this before? What am I doing wrong?
I'm using windows command prompt. Any help would be greatly appreciated.
You need to run it as
python pdf2txt.py -c UTF-8 output.txt "my file.pdf
Windows doesn't use the !# syntax, I think.