Sublime Forum

How to run external python command with current file as argument?

#1

I’d like to run an external python script file and pass it the filename of the current view’s file. What would be the best way to do this from a plugin?

0 Likes

#2

After some searching. It seems a custom build system may be the way to go. I’m gonna look more into using build systems.

0 Likes

#3

Indded, a custom build system achieves what I was wanting to do. Huge thanks to @OdatNurd for his recent youtube videos that helped me again, this time in understanding build systems. Also, benefitted from the official documentation.

1 Like