##// END OF EJS Templates
IPythonX: terminate the mainloop when exiting, to close the child windows...
IPythonX: terminate the mainloop when exiting, to close the child windows (eg pylab).

File last commit:

r964:0a2f2117
r1732:11935260
Show More
check_sources.py
14 lines | 257 B | text/x-python | PythonLexer
from IPython.external.path import path
fs = path('..').walkfiles('*.py')
for f in fs:
errs = ''
cont = f.bytes()
if '\t' in cont:
errs+='t'
if '\r' in cont:
errs+='r'
if errs:
print "%3s" % errs, f