mycontext manager

Run Settings
LanguagePython
Language Version
Run Command
class MyContext: def __enter__(self): print('Entering context') return self def __exit__(self, exc_type, exc_cal, exc_tb): print('Exiting context') if exc_type: print(f'Exception:{exc_val}') return True with MyContext() as mc: print('Within context') x = 1 print(x)
Editor Settings
Theme
Key bindings
Full width
Lines