Python Forum
[PyGUI] DataTransferApp
Thread Rating:
  • 2 Vote(s) - 2.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyGUI] DataTransferApp
#1
Hi, I am a new in python, I am trying to make a program for data transfer and i am trying to detect all the present drives and external drives attached to computer. also i want to navigate drives as Source and select files and folders to copy. and also want to make selection for destination and have ability to create a folder and select the path to paste on destination. and user should have ability to select and navigate through selectors. please anyone can share idea how i can start and what module i need to use. Thank You.
Reply
#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


Forum Jump:

User Panel Messages

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