Note that there are some explanatory texts on larger screens.

plurals
  1. POInstalling reindent python
    primarykey
    data
    text
    <p>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 anyone had been successful, please let me know..</p> <p>Here are the steps I tried.</p> <p>1.Using easy install I tried to install the package,</p> <pre><code>C:\Python27\Scripts&gt;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 </code></pre> <ol> <li><p>when I did a import command on the python GUI it was successful.</p></li> <li><p>I get the below error when I try to use it.</p></li> </ol> <pre><code>&gt;&gt;&gt; import reindent &gt;&gt;&gt; reindent -d c:/python27/wxpython/ch2-updateui.py SyntaxError: invalid syntax &gt;&gt;&gt; reindent -d c:\python2\wxpython\ch2-updateui.py SyntaxError: invalid syntax </code></pre> <p>Please let me know how to resolve it.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload