Home >Development Tools >sublime >What should I do if input() in python cannot be run in sublime text3?
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!
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!