Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
@Vishesh00

This comment has been minimized.

Copy link

@Vishesh00 Vishesh00 commented Sep 10, 2017

Thank you. I am trying to learn python and this is quite helpful in this.

@ghost

This comment has been minimized.

Copy link

@ghost ghost commented Oct 20, 2017

Tx.
Save the test files before Press Ctrl +b

@FortunexFortune

This comment has been minimized.

Copy link

@FortunexFortune FortunexFortune commented Nov 15, 2017

Thank you so much

@raytso

This comment has been minimized.

Copy link

@raytso raytso commented Dec 19, 2017

thanks. this saved me hours of searching.

@fitz99

This comment has been minimized.

Copy link

@fitz99 fitz99 commented Dec 20, 2017

Thanks. This is really helpful. I get crashes when there are spaces in the path name to the python script. Any idea how to deal with that in Sublime Text? If I quote the path when executing from the terminal it works fine, but I don't know how to do that from a build system in Sublime.

@gbengaoyetade

This comment has been minimized.

Copy link

@gbengaoyetade gbengaoyetade commented Jan 6, 2018

@zaemiel Thanks for this. It was really helpful for me. I'm learning Python3

@Nirmal-Kr

This comment has been minimized.

Copy link

@Nirmal-Kr Nirmal-Kr commented Jan 19, 2018

Thanks, brother... Really it was very helpful.

@alexhigley

This comment has been minimized.

Copy link

@alexhigley alexhigley commented Jan 23, 2018

What version of python will this give me? Looking for 3.6

@ww7

This comment has been minimized.

Copy link

@ww7 ww7 commented Jan 25, 2018

For Windows version 3.x need to hardlink binary to python3.exe
I have 2.7 and 3.6 installed with same name

@roroboyeitor

This comment has been minimized.

Copy link

@roroboyeitor roroboyeitor commented Feb 7, 2018

Thanks!

@andreeanner

This comment has been minimized.

Copy link

@andreeanner andreeanner commented Feb 7, 2018

Thank you

@captsisko

This comment has been minimized.

Copy link

@captsisko captsisko commented Feb 13, 2018

Appreciated!
Thank you very much.

@Alex-dlc

This comment has been minimized.

Copy link

@Alex-dlc Alex-dlc commented Feb 27, 2018

Hi, I get this message: [Errno 2] No such file or directory

Any idea how to fix this?

@bityob

This comment has been minimized.

Copy link

@bityob bityob commented Feb 28, 2018

Hi @zaemiel,

You should remove the "-i" argument,

it just runs the script in "interpreter" mode, which means, that your process keeps open like an interpreter.

image

But if you remove it, you will see the process just ended completely.

image

@fasilminale

This comment has been minimized.

Copy link

@fasilminale fasilminale commented Mar 4, 2018

can't open file &file: [error 2] No such file or directory,

@benjaminFaguer

This comment has been minimized.

Copy link

@benjaminFaguer benjaminFaguer commented Apr 4, 2018

Thank you! This fixed my issue and thank you @bityob, that '>>>' was bothering me as well!

@julienreszka

This comment has been minimized.

Copy link

@julienreszka julienreszka commented Apr 22, 2018

thank you, I removed the "-i" argument

@hwlv

This comment has been minimized.

Copy link

@hwlv hwlv commented Apr 27, 2018

Thank you ,big brother

@dondasasmita

This comment has been minimized.

Copy link

@dondasasmita dondasasmita commented May 2, 2018

Thank you, clear instructions.

@Trece-1101

This comment has been minimized.

Copy link

@Trece-1101 Trece-1101 commented May 23, 2018

Thank you so much!!

@moadAlami

This comment has been minimized.

Copy link

@moadAlami moadAlami commented May 24, 2018

You sir deserve a cookie!

@jorgeyvr

This comment has been minimized.

Copy link

@jorgeyvr jorgeyvr commented May 24, 2018

Hello!

I haved installed python 3.6 and I tried to link it with Sublime but when I check the version on sublime it keeps displaying:

2.7.10 (default, Oct 6 2017, 22:29:07)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.31)]
[Finished in 1.0s]

Any thoughts

Cheers!

Thank you!

@soyun4595

This comment has been minimized.

Copy link

@soyun4595 soyun4595 commented May 28, 2018

thank you :)

@samael98

This comment has been minimized.

Copy link

@samael98 samael98 commented Jun 16, 2018

this is the error message i keep getting....how do i correct it? anybody?

[WinError 2] The system cannot find the file specified
[cmd: ['python3', 'D:\math.py']]
[dir: D:]
[path: C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Users\Stark.Tony\AppData\Local\Programs\Python\Python36\Scripts;C:\Users\Stark.Tony\AppData\Local\Programs\Python\Python36;C:\Users\Stark.Tony\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Java\jdk-9.0.4\bin;]
[Finished]

@biswa-13

This comment has been minimized.

Copy link

@biswa-13 biswa-13 commented Jun 17, 2018

Hi In my case I have installed Python 3.6.2 and for this, I have to change a little bit in the cmd part of the given JSON object. So for me, Python3 did not work instead py did the work.

{
"cmd": ["py", "-i", "-u", "$file"],
"file_regex": "^[ ]File "(...?)", line ([0-9]*)",
"selector": "source.python"
}

@knightowl2704

This comment has been minimized.

Copy link

@knightowl2704 knightowl2704 commented Jun 20, 2018

Thanks

@DavidLapenaGarcia

This comment has been minimized.

Copy link

@DavidLapenaGarcia DavidLapenaGarcia commented Jul 12, 2018

Hi. I have that:
{
"cmd": ["python3" , "-i","-u" , "$file"],
"file_regex": "^[ ]File "(...?)", line ([0-9]*)",
"selector":"source.python"
}
Of corse i did: Go to Tools -> Build system -> and check python3_7 . (In my case, 3.7)
But Sublime text 3 keep running python 2.7.10.
Any idea why?

@vioxcd

This comment has been minimized.

Copy link

@vioxcd vioxcd commented Jul 19, 2018

To make the build system work, you must specify the PATH to the python interpreter like "cmd" : ["PATH TO INTERPRETER" etc.. ]

To do that, do this in your python shell

import sys
print(sys.executable)

And then it'll print out the PATH to the python interpreter. Copy that PATH to replace the "python3". For Windows user, use double \ (\) to specify your PATH. Example: C:\\PATH\\TO\\INTERPRETER\\python.exe

Hope this helps :)

@tejasa97

This comment has been minimized.

Copy link

@tejasa97 tejasa97 commented Aug 1, 2018

I'd really rather not use the '-i' flag as it keeps the code running even after execution; something I think isn't really needed. I've unknowingly been using it with the flag all this time and after an exhausting bout of coding and testing, I open my system monitor to find a plethora of 'python3's lol

@ghost

This comment has been minimized.

Copy link

@ghost ghost commented Aug 5, 2018

@bityob

Thank you very much for your "i" argument suggestion . It save me from lot of trouble....):

@jkunimune15

This comment has been minimized.

Copy link

@jkunimune15 jkunimune15 commented Aug 10, 2018

Your file regex is wrong and will not work. You're missing several asterisks:

{
    "cmd": ["python2", "-u", "$file"],
    "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
    "selector": "source.python"
}
@kartikjai9

This comment has been minimized.

Copy link

@kartikjai9 kartikjai9 commented Sep 4, 2018

I have an error showing
**Access denied
Please help how to get access

@hdsingh

This comment has been minimized.

Copy link

@hdsingh hdsingh commented Sep 9, 2018

Thanks a lot!!!!!

@wrathinc

This comment has been minimized.

Copy link

@wrathinc wrathinc commented Sep 17, 2018

Thank you so much!!!

@WillyD57

This comment has been minimized.

Copy link

@WillyD57 WillyD57 commented Oct 8, 2018

I have an issue I believe your post will solve, but I do not have it working yet. I am using the Anaconda3 distribution of Python. During the anaconda installation it specifically tells you NOT to put python in your windows path. Because of that Sublime can't find python if you use it to do a build. So, I used your technique to solve the issue. But I added the entire path to my python install like this:

{
"cmd": ["C:\users\billa\anaconda3\python", "-i", "-u", "$file"],
"file_regex": "^[ ]File "(...?)", line ([0-9]*)",
"selector": "source.python"
}

I saved the file as Python3.build.sublime-build and then under build systems menu I selected Python3.build. But when I hit Ctrl + B nothing happens.

The only thing I see, at the bottom left corner of the Sublime window the words "No Build System" flash for just a second or two.

Do you have any idea what the problem is now?

Thanks
Bill

@almozaai

This comment has been minimized.

Copy link

@almozaai almozaai commented Oct 13, 2018

Thanks, it is very helpful.

@maryam-musalam

This comment has been minimized.

Copy link

@maryam-musalam maryam-musalam commented Oct 21, 2018

thank you its really helped

@willaumar

This comment has been minimized.

Copy link

@willaumar willaumar commented Oct 29, 2018

thanks

@juanibar

This comment has been minimized.

Copy link

@juanibar juanibar commented Nov 18, 2018

cool thank really healpfull!

@akshayk11

This comment has been minimized.

Copy link

@akshayk11 akshayk11 commented Nov 19, 2018

This was really helpful. I didn't knew that sublime text by default checks for python 2.
thanks.

@yash3x

This comment has been minimized.

Copy link

@yash3x yash3x commented Nov 21, 2018

Thanks a lot 😊

@perevertysh

This comment has been minimized.

Copy link

@perevertysh perevertysh commented Feb 6, 2019

GThx!

@qtoq126

This comment has been minimized.

Copy link

@qtoq126 qtoq126 commented Feb 18, 2019

very useful, 3q

@pythonlearning1207

This comment has been minimized.

Copy link

@pythonlearning1207 pythonlearning1207 commented Feb 19, 2019

thank you so much!

@7549brijesh

This comment has been minimized.

Copy link

@7549brijesh 7549brijesh commented Mar 4, 2019

it is running the python code but does not react or perform action to input

@cterizi

This comment has been minimized.

Copy link

@cterizi cterizi commented Mar 8, 2019

It works. Thanks!

@suhasakowshik

This comment has been minimized.

Copy link

@suhasakowshik suhasakowshik commented Mar 12, 2019

Thanks a lot!!!

@baotang2118

This comment has been minimized.

Copy link

@baotang2118 baotang2118 commented Mar 17, 2019

It works. Thanks a lot 👍

@bsgdragao

This comment has been minimized.

Copy link

@bsgdragao bsgdragao commented Mar 27, 2019

perfect.

@Jensenkho

This comment has been minimized.

Copy link

@Jensenkho Jensenkho commented Apr 1, 2019

This is my Window 10 Sublime Text 3 setup from Python 3.5 to 3.7 version. It works!
{
"cmd": ["C:\Users\User\AppData\Local\Programs\Python\Python37-32\pythonw.exe", "-u", "$file"],
"file_regex": "^[ ]File "(...?)", line ([0-9]*)",
"selector": "source.python"
}

For Window, please use double backslash \ for the path.

Capture

@Resonanz

This comment has been minimized.

Copy link

@Resonanz Resonanz commented Apr 15, 2019

It's hard to believe that I had to scroll thru about 50 comments to find the Windows double backslash requirement. Are the devs a bit dull? Do they not test on Windows?

@slzzz

This comment has been minimized.

Copy link

@slzzz slzzz commented Apr 19, 2019

Thanks, it is very helpful.

@Red1Rashik

This comment has been minimized.

Copy link

@Red1Rashik Red1Rashik commented Apr 21, 2019

For Windows // the user name will vary after C:\Users\

{
"cmd": ["C:\Users\user\AppData\Local\Programs\Python\Python37-32\pythonw.exe", "-u", "$file"],
"file_regex": "^[ ]File "(...?)", line ([0-9]*)",
"selector": "source.python"
}

@anonbyte91

This comment has been minimized.

Copy link

@anonbyte91 anonbyte91 commented Jul 10, 2019

thanks for the help!

@SirYagMi

This comment has been minimized.

Copy link

@SirYagMi SirYagMi commented Oct 3, 2019

im still having problems, when I open my sublime console I see a message that says KeyError: 'PATH' but the path in my build is correct
python

@teamgusano

This comment has been minimized.

Copy link

@teamgusano teamgusano commented Oct 24, 2019

thank you so much!!!!!!

@EnriqueOrtiz27

This comment has been minimized.

Copy link

@EnriqueOrtiz27 EnriqueOrtiz27 commented Oct 31, 2019

Thanks man, you really helped me.

@HabibRh26

This comment has been minimized.

Copy link

@HabibRh26 HabibRh26 commented Jan 18, 2020

after 3 hours it worked for me at last ,thanks a lot man!

@jreyes085

This comment has been minimized.

Copy link

@jreyes085 jreyes085 commented Jan 19, 2020

Hi, can I user #!python3 or #!python2 in the first line of the py script to let Sublime which python build config to use?

@HabibRh26

This comment has been minimized.

Copy link

@HabibRh26 HabibRh26 commented Jan 20, 2020

yes,you can,it works with diff version @jreyes085

@masiarek

This comment has been minimized.

Copy link

@masiarek masiarek commented Feb 19, 2020

On windows (replace my user id 'masia' - with your user):

C:\Users\masia\AppData\Roaming\Sublime Text 3\Packages\User
{
"cmd": ["C:\Users\masia\AppData\Local\Programs\Python\Python38\python.exe", "-u", "$file"],
"file_regex": "^ ]File "(...?)", line ([0-9]*)",
"selector": "source.python"
}

@rudra-shukla

This comment has been minimized.

Copy link

@rudra-shukla rudra-shukla commented Feb 24, 2020

thank you

@Kulu21

This comment has been minimized.

Copy link

@Kulu21 Kulu21 commented Feb 29, 2020

Hi

I am trying this in Linux (LXLE), and get the following error message when trying the print(sys.version) command:

/usr/bin/python3: can't find 'main' module in ''
[Finished in 0.3s with exit code 1]
[cmd: ['python3', '-u', '']]
[dir: /opt/sublime_text]
[path:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin]

I would be really grateful if anyone could help me correct this.

Thanks in advance.

@zaemiel

This comment has been minimized.

Copy link
Owner Author

@zaemiel zaemiel commented Feb 29, 2020

Hi

I am trying this in Linux (LXLE), and get the following error message when trying the print(sys.version) command:

/usr/bin/python3: can't find 'main' module in ''
[Finished in 0.3s with exit code 1]
[cmd: ['python3', '-u', '']]
[dir: /opt/sublime_text]
[path:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin]

I would be really grateful if anyone could help me correct this.

Thanks in advance.

"cmd": ["python3", "-u", "$file"],

@Kulu21

This comment has been minimized.

Copy link

@Kulu21 Kulu21 commented Feb 29, 2020

Hi
I am trying this in Linux (LXLE), and get the following error message when trying the print(sys.version) command:
/usr/bin/python3: can't find 'main' module in ''
[Finished in 0.3s with exit code 1]
[cmd: ['python3', '-u', '']]
[dir: /opt/sublime_text]
[path:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin]
I would be really grateful if anyone could help me correct this.
Thanks in advance.

"cmd": ["python3", "-u", "$file"],

Hi

Thanks for the response; i should have posted the code that gave rise to the error - apologies.

I think I had the right line - this is the file that resulted in the error:

{
"cmd": ["python3", "-u", "$file"],
"file_regex": "^[ ]File "usr/bin/python3", line ([0-9])*)",
"selector": "source.python"
}

Can I ask you to let me know what I am doing wrong?

@zaemiel

This comment has been minimized.

Copy link
Owner Author

@zaemiel zaemiel commented Feb 29, 2020

Hi
I am trying this in Linux (LXLE), and get the following error message when trying the print(sys.version) command:
/usr/bin/python3: can't find 'main' module in ''
[Finished in 0.3s with exit code 1]
[cmd: ['python3', '-u', '']]
[dir: /opt/sublime_text]
[path:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin]
I would be really grateful if anyone could help me correct this.
Thanks in advance.

"cmd": ["python3", "-u", "$file"],

Hi

Thanks for the response; i should have posted the code that gave rise to the error - apologies.

I think I had the right line - this is the file that resulted in the error:

{
"cmd": ["python3", "-u", "$file"],
"file_regex": "^[ ]File "usr/bin/python3", line ([0-9])*)",
"selector": "source.python"
}

Can I ask you to let me know what I am doing wrong?

Have you saved the file before you tried to run it?

@Kulu21

This comment has been minimized.

Copy link

@Kulu21 Kulu21 commented Feb 29, 2020

Hi
I am trying this in Linux (LXLE), and get the following error message when trying the print(sys.version) command:
/usr/bin/python3: can't find 'main' module in ''
[Finished in 0.3s with exit code 1]
[cmd: ['python3', '-u', '']]
[dir: /opt/sublime_text]
[path:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin]
I would be really grateful if anyone could help me correct this.
Thanks in advance.

"cmd": ["python3", "-u", "$file"],

Hi
Thanks for the response; i should have posted the code that gave rise to the error - apologies.
I think I had the right line - this is the file that resulted in the error:
{
"cmd": ["python3", "-u", "$file"],
"file_regex": "^[ ]File "usr/bin/python3", line ([0-9])*)",
"selector": "source.python"
}
Can I ask you to let me know what I am doing wrong?

Have you saved the file before you tried to run it?

I did, I saved it in the directory that I was prompted to save into.

@olumidefesobi

This comment has been minimized.

Copy link

@olumidefesobi olumidefesobi commented Mar 12, 2020

outputerror python
please which plugin do i need to install to make the console interactive

@ramosvacca

This comment has been minimized.

Copy link

@ramosvacca ramosvacca commented Mar 30, 2020

Working on Ubuntu 18.04, SublimeText3. Python 3.6.9

@olumidefesobi

This comment has been minimized.

Copy link

@olumidefesobi olumidefesobi commented Apr 2, 2020

thanks

@Think3wang

This comment has been minimized.

Copy link

@Think3wang Think3wang commented Apr 15, 2020

Thank you for this sharing, although I don't understand the Regex, I saw other blogs write the same thing so I give it a try. Now the Command + B will build my .py file with python3 command. Thank you so much.

@plasmasparc

This comment has been minimized.

Copy link

@plasmasparc plasmasparc commented Apr 20, 2020

Thank you, it is a nice solution!

@purplesrl

This comment has been minimized.

Copy link

@purplesrl purplesrl commented May 17, 2020

actually after I installed the Anaconda package a new option popped up, its called "Anaconda Python Builder" which works fine on my Python 3 files without any changes, of course my default python_interpreter is python3

{
"name": "Anaconda Python Builder",
"shell_cmd": ""${python_interpreter}" -u "$file"",
"file_regex": "^[ ]File "(...?)", line ([0-9]*)",
"selector": "source.python"
}

@erfun4

This comment has been minimized.

Copy link

@erfun4 erfun4 commented May 17, 2020

thanks a lot

@KamelSiddiqui

This comment has been minimized.

Copy link

@KamelSiddiqui KamelSiddiqui commented May 19, 2020

hi, can you help me install PySigmoid Package? on Python3. pip install PySigmid is not providing any help.
thanks

@CarlitoUK

This comment has been minimized.

Copy link

@CarlitoUK CarlitoUK commented May 31, 2020

Hey Zaemiel, this worked fine, thank you very much

@frroossst

This comment has been minimized.

Copy link

@frroossst frroossst commented Sep 7, 2020

Thanks mate!

@chanhoiying

This comment has been minimized.

Copy link

@chanhoiying chanhoiying commented Sep 13, 2020

Thank you @zaemiel and @Jensenkho!

I was close to giving up on learning Python!

@rafaelgramoschi

This comment has been minimized.

Copy link

@rafaelgramoschi rafaelgramoschi commented Sep 27, 2020

No Build System

On Linux: NO BUILD SYSTEM FOUND.
Because I first had this (check the ASTERISKS!):
Screenshot_2020-09-27_11-15-52
Changed to this:
Screenshot_2020-09-27_11-14-01

@spicynuggets02

This comment has been minimized.

Copy link

@spicynuggets02 spicynuggets02 commented Oct 29, 2020

thank you so much! other versions of this code do not work on python 3.9

@Fanman001

This comment has been minimized.

Copy link

@Fanman001 Fanman001 commented Nov 27, 2020

Am trying to use Sublime Text 3 (Build3211) with Python 3.9.0 on Windows 10.

Have downloaded both successfully and

  1. Gone to Sublime Text to: Tools -> Build System -> New Build System
    and put the next lines:

{
"cmd": ["python3", "-u", "$file"],
"file_regex": "^[ ]File "(...?)", line ([0-9]*)",
"selector": "source.python"
}

Then saved it with a meaningful name like: python3.sublime-build

But when I write a program like:

print("Help") and run under Sublime Text to Tools Python 3, I get the following message:

Python was not found but can be installed from the Microsoft Store: https://go.microsoft.com/fwlink?linkID=2082640[Finished in 0.3s]

Am just beginning to learn how to code... PLEASE HELP!

@Fanman001

This comment has been minimized.

Copy link

@Fanman001 Fanman001 commented Nov 27, 2020

Am trying to use Sublime Text 3 (Build3211) with Python 3.9.0 on Windows 10.

Have downloaded both successfully and

  1. Gone to Sublime Text to: Tools -> Build System -> New Build System
    and put the next lines:

{
"cmd": ["python3", "-u", "$file"],
"file_regex": "^[ ]File "(...?)", line ([0-9]*)",
"selector": "source.python"
}

Then saved it with a meaningful name like: python3.sublime-build

But when I write a program like:

print("Help") and run under Sublime Text to Tools Python 3, I get the following message:

Python was not found but can be installed from the Microsoft Store: https://go.microsoft.com/fwlink?linkID=2082640[Finished in 0.3s]

Am just beginning to learn how to code... PLEASE HELP!

@zaemiel

This comment has been minimized.

Copy link
Owner Author

@zaemiel zaemiel commented Nov 28, 2020

Am trying to use Sublime Text 3 (Build3211) with Python 3.9.0 on Windows 10.

Have downloaded both successfully and

1. Gone to Sublime Text to: Tools -> Build System -> New Build System
   and put the next lines:

{
"cmd": ["python3", "-u", "$file"],
"file_regex": "^[ ]File "(...?)", line ([0-9]*)",
"selector": "source.python"
}

Then saved it with a meaningful name like: python3.sublime-build

But when I write a program like:

print("Help") and run under Sublime Text to Tools Python 3, I get the following message:

Python was not found but can be installed from the Microsoft Store: [https://go.microsoft.com/fwlink?linkID=2082640Finished in 0.3s]

Am just beginning to learn how to code... PLEASE HELP!

Did you install Python?
Go to the https://www.python.org/downloads/
Download and install (when it will ask you to include the path to Python to the PATH environment variable you should agree).

Open cmd and input python...

Also Windows has no 'python3', only 'python' - the command you use to get the Python's shell.

@adilbeksultanov

This comment has been minimized.

Copy link

@adilbeksultanov adilbeksultanov commented Feb 3, 2021

Thank you very much!

@codebyAbhishekBharti

This comment has been minimized.

Copy link

@codebyAbhishekBharti codebyAbhishekBharti commented Mar 23, 2021

Thanks a lot

@benjaminjm112

This comment has been minimized.

Copy link

@benjaminjm112 benjaminjm112 commented May 9, 2021

Hi, I get this message: [Errno 2] No such file or directory

Any idea how to fix this?

Try this code:
{ "shell_cmd": "gnome-terminal --working-directory=$file_path -- bash -c 'python3 -u \"$file\" && read -n 1 -s -r'", "working_dir": "$file_path", "selector": "source.python", "env": {"PYTHONIOENCODING": "utf-8"} }

@hacker101red

This comment has been minimized.

Copy link

@hacker101red hacker101red commented Aug 4, 2021

i cant give input

@prisilya07

This comment has been minimized.

Copy link

@prisilya07 prisilya07 commented Sep 13, 2021

thank you its work to me! but i change code a little bit. if you guys still have a problem like the code not build, you can try this code
{
"cmd": ["C:\Python\Python397\python.exe", "-u", "$file"],
"file_regex": "^[ ]File "(...?)", line ([0-9]*)",
"selector": "source.python"
}

i hope this will help you guys :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment