SuperPeHasher icon indicating copy to clipboard operation
SuperPeHasher copied to clipboard

No output even if code is runnning

Open Muddassar00 opened this issue 4 years ago • 1 comments

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.

Muddassar00 avatar Sep 10 '21 07:09 Muddassar00

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())

fr0gger avatar Sep 16 '21 14:09 fr0gger