Sublime Forum

Where is the location of the builtin python?

#1

Hello,

I’m playing with ST API, and I want to test my python script again the builtin version. Is it exposed as a binary file anywhere? so I can make a build system and run it.

I’m using macOS btw.

Thank you.

0 Likes

#2
/Applications/Sublime Text.app/Contents/MacOS/python3.3

But everything is .pyo files, no binary.
If you want to run a script from the built-in interpreter I think the only way is to save your .py file in the Packages folder, it will then be executed automatically.

1 Like