Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

Lines of Python above cursor executing before enter is pressed twice

$
0
0
I am new to Python but I have been having an issue with the lines of code in the ArcMap Python window above where I am typing beginning to execute before I have completed everything and pressed enter twice. My understanding is that ctrl-enter is pressed to create a new line, (and lines above should not do anything when this happens) and enter is then pressed twice when I am ready for the whole thing to execute. This problem seems to be happening mainly when I use the up arrow to recall the last code snippet that was typed. Is there a way to turn this off?

Viewing all articles
Browse latest Browse all 2485

Trending Articles