How to stop input in SublimeREPL?

0 votes

I am working on the following code in SublimeREPL:

    a = raw_input()
    print a

How do I stop input when this is running? Ctrl+C, Ctlr+D, or Ctrl+Z don't seem to work like they do in a terminal.

Jun 27 in Python by ana1504.k
• 7,890 points

1 answer to this question.

0 votes
You have to do ctrl+break or ctrl+space to break the infinite recursion and abort the program.

Hope this works!
answered Jun 27 by SDeb
• 13,190 points

Related Questions In Python

0 votes
1 answer

How to input optional arguments in python command line?

Please use this code. if len(sys.argv) == 2: first_log ...READ MORE

answered Jul 11 in Python by Suri
+3 votes
5 answers

How to read multiple data files in python

Firstly we will import pandas to read ...READ MORE

answered Apr 6, 2018 in Python by DeepCoder786
• 1,720 points
+4 votes
7 answers
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 6 in Python by Neha
• 330 points

edited Jul 8 by Kalgi 348 views
0 votes
1 answer

How to use a global variable in function?

The global variable can be used in ...READ MORE

answered Sep 27, 2018 in Python by SDeb
• 13,190 points
0 votes
1 answer

How to Reverse a list in Python

You can use the reversed function in ...READ MORE

answered Sep 28, 2018 in Python by SDeb
• 13,190 points