How to Run Python Easily with Sublime Text | Tutorial 2023

preview_player
Показать описание
🖥️How to setup Python in Sublime Text Editor🖥️

Sublime Text
Sublime Text is a popular and powerful text editor designed for code editing. It provides a minimalistic and intuitive interface, emphasizing speed and efficiency. Sublime Text is widely used by programmers, web developers, and other professionals who work with code and text-based files.

------------------------------------
💡Sublime Text has a built-in feature called "Build System: Python".

STEPS
- Create a New Build System
- Go to ' Tools - Build System - New Build System
- Paste this
{
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
}
- Save this with .sublime-build extension
- Create a python file (.py extension) and then select the created build system
- Ctrl + B to run the code

-------------------------------------------
S A M P L E C OD E
--------------------------------------------
platform = 'Youtube'
print(platform)
-------------------------------------------
Рекомендации по теме
Комментарии
Автор

I've tried to work this out so many times, and finally got it working! Thanks.

joeldparsons
Автор

Thanks man! this was short ! no time waste . useful

DailyVibz
Автор

Thanks, man!!! You really helped me out! Appreciate your

oldlegonew
Автор

thank you very much for helping me I appreciate it
😃😃😃😃😃😃😃

codetuturial
Автор

Thanks man! It works nicely!
But there's still a problem: non-latin charachter don't display in this build system, e. g. arabic, chinese, cyrillic, etc. Is there a way to enable support for them?

therealglyder
Автор

if u still got problems:
- maybe like me u just didnt expand the console panel on bottom of screen, when u press ctrl+b
- to find location of python exe do this on windows command prompt "python -c "import os, sys;
- and then follow what is in description of this video

suwoo
Автор

How did you get the output "hello world" at the bottom window? My code runs (using Sublime 3) but nothing displays there

tonywu
Автор

question on mac how do you get up the console ive got python working

quackylool
Автор

Can someone help me is this right or wrong !

rohitgomes
Автор

Well in my laptop it doesn’t show hello world, it just shows finished in 132ms

rohitgomes
Автор

sorry bro but not work:

[WinError 5] Accesso negato (access denied)
[cmd: ['C:/Users/Ruslan/AppData/Local/Programs/Python/Python311', '-u', prova\\file.py']]
[dir: prova]
[path: Files\Microsoft SQL Files\Microsoft SQL Server\Client Community Edition Community Edition
[Finished]






i did what was in the

ruslansergeyuvic
Автор

sorry but it don't work bro
[WinError 2] The system cannot find the file specified
[cmd: ['py', '-u', 'D:\\King Thành\\PYTHON CODE\\Bài Tính số dư.py']]
[dir: D:\King Thành\PYTHON CODE]
[path: Community Edition VS Code\bin;C:his Thành\APPS\CLi\Users\Ton 2023.2.1\bin;]
[Finished]

TSteveNY