Hi,
How can I use Python3 code in my workflows?
At the moment I am just trying as a test to print a string and send it to a post notification.
This works fine (in Python2) if I select "/usr/bin/python" and use sys.stdout.write(s). I can also use the unix command echo to print a string and send it to a notification but my Python3 shell script does nothing in Alfred, even though I can execute it perfectly fine via the terminal.
My Python3 shell script is very simple.
#!/Library/Frameworks/Python.framework/Versions/3.5/bin/python3
print('hello')
Please help!
Thanks,
Halfred