Skip to main content
added 49 characters in body
Source Link

Looks like code was sent to a Python3 shell, where print is a function.

M-x py-execute-def-python2 RET should work.

Customizing py-shell-name is an option too.

Looks like code was sent to a Python3 shell, where print is a function.

M-x py-execute-def-python2 RET should work.

Looks like code was sent to a Python3 shell, where print is a function.

M-x py-execute-def-python2 RET should work.

Customizing py-shell-name is an option too.

Source Link

Looks like code was sent to a Python3 shell, where print is a function.

M-x py-execute-def-python2 RET should work.