How to Solve NameError: name 'splitdrive' is not defined -- os
Solution: Import the 'splitdrive' module
# Add the following line to the top of your code
from os.path import splitdrive
For more information:
os splitdrive
# Add the following line to the top of your code
from os.path import splitdrive
For more information:
os splitdrive