omz / Pythonista-Issues

Issue tracker for Pythonista (iOS)
169 stars 14 forks source link

A bug in URL scheme with version 300018 #238

Closed yjqiang closed 7 years ago

yjqiang commented 8 years ago

HelloWorld.py:

!python3

coding: utf-8

print('Hello World')


Check.py: import webbrowser webbrowser.open('pythonista3://HelloWorld.py?action=run&version=2')


According to http://omz-software.com/pythonista/docs/ios/urlscheme.html, we can use "version=[2|3]" to use a specific interpreter for running a script. And when I run Check.py, it seems ok, but if I change to "version=3", Check.py doesn't call HelloWorld.py at all whithout any outputs.

zrzka commented 7 years ago

Works in 311014, both versions arg values tested.