Home >Development Tools >sublime >What should I do if input() in python cannot be run in sublime text3?

What should I do if input() in python cannot be run in sublime text3?

藏色散人
藏色散人forward
2021-03-31 17:18:004564browse

The following tutorial column of sublime will introduce to you the solution to the problem that input() in python cannot be run in sublime text3. I hope it will be helpful to friends in need!

What should I do if input() in python cannot be run in sublime text3?

The method is referenced from the Internet and is only for records.

1. Ctrl shift P, enter install package control in the pop-up input box;

2. Ctrl shift p, enter/select Package Control: Install Package, and then in the new Enter SublimeREPL in the input box, press Enter

3, , click Preferences—Key Buildings in turn, enter the following content, then save and set The key F5 (can be modified at will) is the shortcut key for running the program

[
    { "keys": ["f5"], "caption": "SublimeREPL:Python", 
                      "command": "run_existing_window_command", "args":
                      {
                           "id": "repl_python_run",
                           "file": "config/Python/Main.sublime-menu"
                      } 
    },
]

4. After the configuration is completed, when you need to run a program with input (), just press F5.

The above is the detailed content of What should I do if input() in python cannot be run in sublime text3?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete