Does that 'explorer' command work outside of Python? Not entirely sure what you want to achieve but have a look at glob for searching for files/folders: https://docs.python.org/2/library/glob.html
// F tis 14 jul 2015 kl. 11:47 skrev sumanth shenoy <[email protected]>: > hi guys i am new to python and i just trying out basic stuff > > i am trying to open a folder in the server with a click of a button > > i tried this > > import subprocess > > def File (): > subprocess.Popen('explorer "\\**server\D\***\fbx\**\**"') > > but it only works for local drives is there a way to make it work from any > path > > thank you for your time > micheal > > -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/CACcyz3a8rOdOQQaNPucWYNdyY4G-2ayaP3gTbYgFJcYOQVRWsQ%40mail.gmail.com > <https://groups.google.com/d/msgid/python_inside_maya/CACcyz3a8rOdOQQaNPucWYNdyY4G-2ayaP3gTbYgFJcYOQVRWsQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAD%3DwhWONyrCnjxxwFUYbvPVj6V%2B-Tx5uPXxEEP4Pee1Ta10gog%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
