Windows:

    1. import os
    2. os.startfile("path")

    Linux:

    1. import subprocess
    2. subprocess.Popen(['xdg-open', "path"])