def on_notepad( self, filepath ): filepath = Path( filepath ) subprocess.Popen( 'notepad "%s"' % filepath.asNative(), cwd=filepath.up() )
def on_notepad(self, filepath): filepath = Path(filepath) subprocess.Popen('notepad "%s"' % filepath.asNative(), cwd=filepath.up())