Sublime Forum

How to configure a build system for launching Command Prompt window with interactive IPython

#1

I would like to create a build system for Python code files that when used launches a Windows Command Prompt window in which the Python code file is ran, with the window then remaining open afterwards in interactive mode.

The Sublime build file that I’ve made in an attempt to achieve this looks like this:

{
“cmd”: [“C:/anaconda3/Scripts/ipython.exe”, “-i”, “$file”],
“file_regex”: “^[ ]File "(…?)”, line ([0-9]*)",
“selector”: “source.python”
}

However this doesn’t fully work yet because it does not launch a Windows Command Prompt. Does anyone have an idea what the correct Sublime build file for this would look like?

0 Likes

#2

Forget it …

0 Likes

#3

Terminus - Packages - Package Control

0 Likes

#4

In defiance of repeatedly being flagged as OT I have just bundled into Subl text a bunch of Swiss Army Knife tools launched through the Build System and extending functionality of Subl. Much quicker than writing Packages. You want any Build. You have it.

0 Likes