Is there a way to distinguish on which machine I am working, so that I load the right modules?
E.g. PySimpleGUI uses this:
Code: Select all
#!/usr/bin/env python
import sys
if sys.version_info[0] >= 3:
import PySimpleGUI as sg
else:
import PySimpleGUI27 as sg