Hi, I have Python3.9 and Sublime 3.2.2. When I am building any python 3 script with exit() defined in it, Sublime thow error in the build window.
How can I disable this unnecessary trace back error. Thanks for help. Nothing wrong with script, works file if I run on shell.
import sys
print(sys.version)
exit()
3.9.2 (v3.9.2:1a79785e3e, Feb 19 2021, 09:06:10)
[Clang 6.0 (clang-600.0.57)]
Traceback (most recent call last):
File “/test.py”, line 5, in
exit()
File “/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/_sitebuiltins.py”, line 26, in call
raise SystemExit(code)
SystemExit: None