Python:SyntaxError: multiple statements found while compiling a single statement

若是python环境里面不可以多行复制运行,报错:SyntaxError: multiple statements found while compiling a single statement

解决方法:退出当前python环境后,执行

echo "set enable-bracketed-paste off" >> ~/.inputrc

你可能感兴趣的:(Python,python)