Windows-Prefetch-Parser icon indicating copy to clipboard operation
Windows-Prefetch-Parser copied to clipboard

Invalid Syntax

Open Jbha opened this issue 5 years ago • 2 comments

Hello, I just installed the windows prefetch parser and did everything like it is explained. But when I run the command I get a syntax error can somebody help me to solve this problem ?

The command that I ran is : prefetch.py -f CALC.EXE-3FBEF7FD.PF

the syntax error is at line 354 print "\n{0}\n{1}\n{0)\n".format(banner, ntpath.basename(self.pFilename))

Jbha avatar May 28 '19 13:05 Jbha

Hi @Jbha -- are you using Python 3.x by chance? If so, that's the issue - windowsprefetch was written in Python 2.x, which is clearly a problem that I need to fix. Let me know - thanks!

PoorBillionaire avatar May 28 '19 16:05 PoorBillionaire

Hello, PoorBillionaire Yes I'm using the latest version of python 3.7.3. But if i install python 2 normally the problem is fixed ?

Jbha avatar May 29 '19 06:05 Jbha