multiple errors
Posted: Sun Dec 13, 2015 7:03 am
Hello,
My dad and I have been working on this project for the past couple weekends. We have been able to figure out how to fix some of the errors we get. There are some we just can not figure out. We have tried looking online to find the solution but have been unsuccessful. When we run this program from the command line a result is returned for password0. When we run the program using IDLE, we receive the following "Traceback" errors. Please help.
Traceback (most recent call last):
File "C:\Users\Radean\Documents\my stuff\crack3.py", line 451, in <module>
sys.exit(main(sys.argv[1:]))
File "C:\Users\Radean\Documents\my stuff\crack3.py", line 402, in main
foundit = search_method_3("passwords1.txt")
File "C:\Users\Radean\Documents\my stuff\crack3.py", line 226, in search_method_3
words = f.readlines()
File "C:\Users\Radean\AppData\Local\Programs\Python\Python35-32\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 5706: character maps to <undefined>
My dad and I have been working on this project for the past couple weekends. We have been able to figure out how to fix some of the errors we get. There are some we just can not figure out. We have tried looking online to find the solution but have been unsuccessful. When we run this program from the command line a result is returned for password0. When we run the program using IDLE, we receive the following "Traceback" errors. Please help.
Traceback (most recent call last):
File "C:\Users\Radean\Documents\my stuff\crack3.py", line 451, in <module>
sys.exit(main(sys.argv[1:]))
File "C:\Users\Radean\Documents\my stuff\crack3.py", line 402, in main
foundit = search_method_3("passwords1.txt")
File "C:\Users\Radean\Documents\my stuff\crack3.py", line 226, in search_method_3
words = f.readlines()
File "C:\Users\Radean\AppData\Local\Programs\Python\Python35-32\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 5706: character maps to <undefined>