title: How to use 2to3 tool in windows?
body: <p>I tried to modify the sintax using 2to3 tool by running command</p>
  
  <pre><code>python C:\Python32\Tools\scripts\2to3.py neo4j.py
  </code></pre>
  
  <p>and got the output</p>
  
  <p><img src="https://i.stack.imgur.com/ZPwNJ.jpg" alt="enter image description here"></p>
  
  <p>When opening neo4j.py however I noticed there hasn't been anything changed. Below is the block of code where changes (accoridng to output) should be made:</p>
  
  <pre><code>try:
      import json
  except ImportError:
      import simplejson as json
  try:
      from urllib.parse import quote
  except ImportError:
      from urllib import quote
  try:
      from . import rest, batch, cypher
  except ImportError:
      import rest, batch, cypher
  except ValueError:
      import rest, batch, cypher
  
  import logging
  logger = logging.getLogger(__name__)
  </code></pre>
  
  <p>Does anyone know how to use 2to3 tool properly in order to port/change the code to v3.2?</p>