If you have the latest sublime text (version 4), you can just do:
subl --safe-mode
def show_progress(loop, loops): | |
print('Progress: [{}/{}]'.format(loop, loops), end='\r') | |
# Example code: | |
prime_numbers = [] | |
for i in range(1e6): | |
for j in range(2,i): | |
if i % j == 0: | |
break |