__zero__

Drives [py]

Dec 10th, 2018
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1. #Get System Drives
  2.  
  3. import win32api
  4.  
  5. drives = win32api.GetLogicalDriveStrings()
  6. drives = drives.split('\000')[:-1]
  7. print(drives)
  8. print(win32api.GetLogicalDriveStrings())
Advertisement
Add Comment
Please, Sign In to add comment