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...
Linux doesn't have those drive letters C:, D:, etc. In linux all filesystems of different drives are mounted on separate folders in the same tree structure, so you only have a single tree.
Most distros use /media to mount pendrives etc, but hard drives can be configured to mount on any folder. So there's no such thing as "drive letter" in linux, your question doesn't apply.
tkFileDialog.askopenfilename How to specify a different drive?