Control C usage



  • I have a question about to use Control + C to stop a script.
    in an infinite loop like:

    while True :
             code ... 
             code ....
    

    do CONTROL C works.



  • HI @jcrfonera,
    Connect using telnet and try it out. You'll see that it indeed throws an KeyboardInterrupt error and will stop the code. Ctrl+C is not implemented in the pymakr console unfortunately, but that might be added in a future release.


Log in to reply
 

Pycom on Twitter