Home > Development Tools > Sublime > body text

Solve the problem that input() in python cannot be run in sublime text3

藏色散人
Release: 2020-12-24 15:38:55
forward
3027 people have browsed it

The tutorial column of sublime below 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!

Solve the problem that 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"
                      } 
    },
]
Copy after login

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 Solve the problem that input() in python cannot be run in sublime text3. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:csdn.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!