Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
.gitignore
Convert python2 to python3.alfredworkflow
README.md
py2_py3.gif

README.md

Convert python2 to python3

This is an Alfred workflow to convert python2 script to python3.

Example: Copy the following text and type "py3" in Alfred, it will paste the python script in the foremost open text editor. Or, we can use cmd-v to paste the python3 script to any text editors.

for x in xrange(3):
    print x

After, using workflow:

for x in range(3):
    print(x)

You can’t perform that action at this time.