I've been trying to automate the export of Omnifocus tasks to Due, & for that I need to use Due's url scheme repeatedly in the script. You can see an example in this gist: https://gist.github.com/4b3561200491814c5538 . It looks like
webbrowser.open(url1)
print 'Done 1.'
webbrowser.open(url2)
print 'Done 2.'
No exceptions are raised, & the output is
Done 1.
Done 2.
As if all calls were made. Why does it not open the url, come back to Pythonista, & open the next one?