To run the sublime text you have to copy paste this text in your sublime text editor :
"cmd": ["python3", "-i", "-u", "$file"],
"file_regex": "^[ ]File \"(...?)\", line ([0-9]*)",
"selector": "source.python"
PS: it works for both windows and mac environment