os.Path.volumes
Returns the available volumes.
Syntax
os.Path.volumes()
RETURNS STRING
Usage
The function returns the list of all available volumes separated by
"|".
To display the list of available volumes, a volume is identified by its letter,
followed by a colon and a backslash (
:\).
DISPLAY os.Path.volumes()Output
example:
C:\|E:\|F:\