Map Network Path to Drive

The script maps the network path to given Drive Letter, Please give the valid network path and available Drive Letter to map them properly otherwise the mapping would not be completed.
Please refer the link for script:

Note:Please run the script as System User or Logged in User
drive_letter=‘T:’ shared_network_path=r’\WINDOWS1032BIT\71b740342fd42e68d06f\Sandbox’
username= “abc” ## provide the Username
password= “*******” ##enter the password of that device