If I start with the python 2 note, I get an error “System.IO object has no attribute DriveInfo”
If I start with the python 3 note, the DriveInfo stuff is missing from the Intellisense but it compiles
#! python 2
import System
drives = System.IO.DriveInfo.GetDrives()
for drive in drives:
print(drive)
1 post - 1 participant