enable WSL on Windows 10 and install Ubuntu 16.04 Ubuntu 18.04WLS for windowsEnable WSL for Windows# start powershell as admin Enable-WindowsOptionalFeature -Online -FeatureName Micr2020-03-20 windowWSL
python atexit and CTRL-C CTRL-Z signal handlerGuideatexitdef exit_handler(): print("exit') import atexit atexit.register(exit_handler) if __name__ == '__main__'2020-03-20 pythonatexit signal
ubuntu 16.04 18.04 sources.listGuideUbuntu 16.04deb http://mirrors.aliyun.com/ubuntu/ xenial main deb-src http://mirrors.aliyun.com/ubuntu/ xenial main2020-03-20 ubuntuapt