I am using following code to open a folder in default file browser.
if os.name == 'mac':
subprocess.call(('open', folderPath))
elif os.name == 'nt':
subprocess.call(('start', folderPath))
elif os.name == 'posix':
subprocess.call(('xdg-open', folderPath))
Now the problem is I want to highlight the child folder/file which was selected earlier. Is there any way to do it? If not for all, at least for nautilus?