/usr/lib/python3/dist-packages/thonny/globals.py is in thonny 2.1.16-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | # -*- coding: utf-8 -*-
_worbench = None
_runner = None
def register_workbench(workbench):
global _workbench
_workbench = workbench
def register_runner(runner):
global _runner
_runner = runner
def get_workbench():
return _workbench
def get_runner():
return _runner
|