N
N
nik_neznay2021-05-12 01:56:20
Python
nik_neznay, 2021-05-12 01:56:20

How can I view connected usb drives in python (Windows 7-10)?

The target platform is Windows 7 and newer, it is required to obtain a drive letter and free memory, while not particularly straining the user.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alan Gibizov, 2021-05-12
@phaggi

In my opinion, most of the OS should take over via api, in particular, python has win32api and os for this.
Here is the link to read, I think it's close to what you need.

R
Ruslan., 2021-05-12
@LaRN

There are many recipes here:
https://stackoverflow.com/questions/58857920/how-t...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question