Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

how to run python program in sublime text 3 windows

{
    "target": "terminus_exec",
    "cancel": "terminus_cancel_build",
    
    "shell_cmd": "D:.python_venvsgeneral_pythonScriptspython.exe -u "$file"",
    "file_regex": "^[ ]*File "(...*?)", line ([0-9]*)",
    "selector": "source.python",

    "env": {"PYTHONIOENCODING": "utf-8"},

    "variants":
    [
        {
            "name": "Syntax Check",
            "shell_cmd": "D:.python_venvsgeneral_pythonScriptspython.exe -m py_compile "${file}"",
        }
    ]
}
Comment

run python in sublime text 3

"""
Download sublime text from here
https://www.sublimetext.com/3

Write your python code inside sublime text editor
press Ctrl + B to execute the code
"""
Comment

how to run python on sublime text

{
    "target": "terminus_exec",
    "cancel": "terminus_cancel_build",
    
    "shell_cmd": "/home/<user>/.python_venvs/general_python/Scripts/python -u "$file"",
    "file_regex": "^[ ]*File "(...*?)", line ([0-9]*)",
    "selector": "source.python",

    "env": {"PYTHONIOENCODING": "utf-8"},

    "variants":
    [
        {
            "name": "Syntax Check",
            "shell_cmd": "/home/<user>/.python_venvs/general_python/Scripts/python -m py_compile "${file}"",
        }
    ]
}
Comment

PREVIOUS NEXT
Code Example
Python :: django response headers 
Python :: python pil 
Python :: float infinity python 
Python :: python opencv subtract two images 
Python :: bucketizer pyspark 
Python :: selenium save webpage as pdf python 
Python :: if name 
Python :: python3 shebang 
Python :: merge two dataframes based on column 
Python :: underscore in python 
Python :: virtualenv python2 
Python :: python split string size 
Python :: how to create a variable in python 
Python :: rename in python 
Python :: python selenium click element 
Python :: jupyter tabnine for jupyter notebook 
Python :: how to reverse a string in python 
Python :: .launch.py file in ros2 
Python :: python import timezone 
Python :: slice notation python 
Python :: How to create role discord.py 
Python :: How to append train and Test dataset in python 
Python :: django or 
Python :: python execute function from string 
Python :: how to make a checksum to a file python 
Python :: read csv file with pandas 
Python :: compare dates python 
Python :: create pyspark dataframe from list 
Python :: how to merge two pandas dataframes on a column 
Python :: python 1 line for loop with else 
ADD CONTENT
Topic
Content
Source link
Name
8+1 =