Python Forum
[PyGUI] DataTransferApp
Thread Rating:
  • 2 Vote(s) - 2.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyGUI] DataTransferApp
#2
On windows,
win32api.GetLogicalDriveStrings()
will return a list of connected drives.
Linux dosen't use drive letters
you can list \run\media\user (replace user with user name)
that will show devices that are mounted, but this most likely will not include all available devices.
You can list disk partitions, but it's a delicate procedure so tread lightly see: https://www.cyberciti.biz/faq/linux-list...s-command/
also /dev/disk/by-label but again, I don't think they show if not mounted.
Reply


Messages In This Thread
DataTransferApp - by mhaveliwala82 - Aug-03-2018, 09:34 PM
RE: DataTransferApp - by Larz60+ - Aug-03-2018, 11:21 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020