How to Run Python Easily with Sublime Text | Tutorial 2023

Поділитися
Вставка
  • Опубліковано 20 чер 2023
  • 🖥️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
    - Download Sublime Text Here : www.sublimetext.com/
    - Create a New Build System
    - Go to ' Tools - Build System - New Build System
    - Paste this
    {
    "cmd": ["python.exe", "-u", "$file"],
    "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
    "selector": "source.python"
    }
    - 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 = 'UA-cam'
    print(platform)
    -------------------------------------------

КОМЕНТАРІ • 37