I'm using "tkFileDialog.askopenfilename" to get a file name variable. I know that I can set the "initialdir" option, but not everyone who uses the program will have the target file on the same drive. For example: the file could be located on the C:, D:, E: etc... I don't see a way to view available drives with the dialog box they have open up. I'd like the user to be able to type something like "/h/cowsandstuff" and have it navigate to that directory instead of locking them in. I am programming in a Linux environment, BTW. The analogous function in Windows that I would like is the "My Computer" option in the drop down menu which would list all available drives...
If you simply point to "/" it contains all mounted devices...
tkFileDialog.askopenfilename How to specify a different drive?