How to paste code in python?
Copy
* If py file, open the program with IDLE, select the content to be copied and right-click "Copy" (ctrl c doesn't seem to work)
* If It is other, feel free to
paste
* Open python, right-click, python will not close after pasting is completed
* Or open cmd, right-click "Paste", the paste is completed cmd close
*ctrl v are invalid
Question: To copy a piece of text, open python and right-click to paste. But if it is a python desktop shortcut, you cannot paste it by right-clicking
Recommended: "python tutorial"
##
The above is the detailed content of How to paste code in python. For more information, please follow other related articles on the PHP Chinese website!