The script is now compatible with both Python 2 and Python 3. But is uses the latter by default. Change the first line of the script if you want to use Python 2. In that case you should also add the following line to the script:
from __future__ import print_function
For comments, please send me an e-mail.
- Simple setup.py for python scripts
- Opening files from the command line
- Generate random passwords