@aidensala You can use console.open_in(file) to present the standard open_in window BUT you can't preselect the app you want, you will have to do it manually.

There exists a solution by a Pythonista script that

copies your text file to the clipboard starts the Apple Shortcuts app with a shortcut that will: get the file from the clipboard give it a name (optional) open_in the file and setting "does not display the menu", thus you can there preselect the app you want

Shortcut here

import clipboard import webbrowser url = 'shortcuts://x-callback-url/run-shortcut?name=OpenFileFromPythonistaInOneApp' with open('myfile.md') as fil: c = fil.read() clipboard.set(c) webbrowser.open(url)