I have lot of issues with Python indentation with the Notepad++. Inorder to resolve, I tried to install Python reindent module but Im unsuccessful on how to use it. If anyon
You're trying to run the command from the Python interpreter instead of the command line. As reindent is a script program, it needs to be run from the command line.
You want to use either
C:\...\> python -m reindent -d C:\Python27\wxpython\ch2-updateui.py
or just
C:\...\> reindent -d C:\Python27\wxpython\ch2-updateui.py
at your command prompt.