SuperPeHasher
SuperPeHasher copied to clipboard
No output even if code is runnning
While following all the instructions and fulfilling requirements, I am not getting output on terminal while code is running without error here. On importing project into pycharm, I am getting an error on "file" in superpehasher.py > get_content routine as mentioned below.
def get_content(self):
# Read the file
fh = open(**file**, "r")
content = ""
for i in fh:
content += i
fh.close()
return content
Whats wrong in it? need guideline.
Not sure what is your issue. You can comment the following part at the beginning to see what is the output.
#err = tempfile.NamedTemporaryFile(delete=False)
#sys.stderr.flush()
#os.dup2(err.fileno(), sys.stderr.fileno())