Instalowanie renifera pytona

Mam wiele problemów z wcięciem Pythona za pomocą Notepad ++. Aby rozwiązać problem, próbowałem zainstalować moduł reindentu Pythona, ale nie udało mi się go użyć. Jeśli ktoś odniósł sukces, daj mi znać ..

Oto kroki, które próbowałem.

1. Korzystanie z łatwej instalacji Próbowałem zainstalować pakiet,

C:\Python27\Scripts>easy_install reindent
Searching for reindent
Reading http://pypi.python.org/simple/reindent/
Best match: Reindent 0.1.1
Downloading http://pypi.python.org/packages/source/R/Reindent/Reindent-0.1.1.tar
.gz#md5=878352c36c421a0b944607efba3b01ad
Processing Reindent-0.1.1.tar.gz
Running Reindent-0.1.1\setup.py -q bdist_egg --dist-dir c:\users\premvi~1\appdat
a\local\temp\easy_install-qdahih\Reindent-0.1.1\egg-dist-tmp-1z1zw8
zip_safe flag not set; analyzing archive contents...
Adding reindent 0.1.1 to easy-install.pth file
Installing reindent script to C:\Python27\Scripts

Installed c:\python27\lib\site-packages\reindent-0.1.1-py2.7.egg
Processing dependencies for reindent
Finished processing dependencies for reindent

gdy wykonałem polecenie importu w interfejsie GUI Pythona powiodło się.

Otrzymuję poniższy błąd, gdy próbuję go użyć.

>>> import reindent
>>> reindent -d c:/python27/wxpython/ch2-updateui.py
SyntaxError: invalid syntax
>>> reindent -d c:\python2\wxpython\ch2-updateui.py
SyntaxError: invalid syntax

Daj mi znać, jak go rozwiązać.

questionAnswers(3)

yourAnswerToTheQuestion