def updrive(path):
    drive, rest = os.path.splitdrive(path)
    if drive:
        path = drive.upper() + rest
    return path
Make the drive letter (if any) upper case.
dataset/ETHPy150Open kayhayen/Nuitka/nuitka/build/inline_copy/lib/scons-2.3.2/SCons/Util.py/updrive