(filepath)
return filepath.replace('/', '\\')
Replaces all occurances of Posix slashes (/) in provided
    filepath with NT ones (\)

    >>> posixToNtSlashes('C:/Windows')
    'C:\\\\Windows'
Replaces all occurances of Posix slashes (/) in provided
    filepath with NT ones (\)
Replaces all occurances of Posix slashes ( / ) in provided filepath with NT ones ( \ )
def posixToNtSlashes(filepath):
    """
    Replaces all occurances of Posix slashes (/) in provided
    filepath with NT ones (\)

    >>> posixToNtSlashes('C:/Windows')
    'C:\\\\Windows'
    """

    return filepath.replace('/', '\\')
def posixToNtSlashes ( filepath ) : return filepath . replace ( '/' , '\\' )