When I open python 2.7.9 in the command terminal in Windows 8 and I run this program:
while True:
for i in ["/","-","|","\\","|"]:
print "%s\r" % i,
How can I terminate this program without closing the command terminal? I apologize in advance if this is a novice question but I'm still a rookie when it comes to programming and I rarely use the command terminal. Thanks! :)
Ctrl+Cis probably the only option that makes sense)? if not the latter, there are better ways to program in a termination.