Command:
python checkpwnedemails.py -a hibp-api-key.txt -s email -o tab-output.txt
Output:
Traceback (most recent call last):
File "checkpwnedemails.py", line 239, in
main()
File "checkpwnedemails.py", line 235, in main
write_results_to_file(opts.output_path, results, opts)
File "checkpwnedemails.py", line 185, in write_results_to_file
outfile = open(filename + f, 'w', encoding='utf-8')
TypeError: 'encoding' is an invalid keyword argument for this function
Can you please let me know what i am doing wrong ? i made the file with excel and added there
Command: python checkpwnedemails.py -a hibp-api-key.txt -s email -o tab-output.txt
Output: Traceback (most recent call last): File "checkpwnedemails.py", line 239, in
main()
File "checkpwnedemails.py", line 235, in main
write_results_to_file(opts.output_path, results, opts)
File "checkpwnedemails.py", line 185, in write_results_to_file
outfile = open(filename + f, 'w', encoding='utf-8')
TypeError: 'encoding' is an invalid keyword argument for this function
Can you please let me know what i am doing wrong ? i made the file with excel and added there