I followed the following steps:
- Install Python27 and also download
wapiti
, placed it insidec:\wapiti-2.2.1
. - Set environment variable for python(var name :
c:\python27
). - Open python command prompt.
Change root directory for step 4 i have used script:
import os os.chdir("c:\wapiti-2.2.1\src")
After doing all this ,still i am getting error while for
python wapiti.py -h
SyntaxError: invalid syntax