def uploadCSVfile1(token, ThePlaceTOupload): files = {'file': open('E:\sample.csv','rb'), (...) def uploadCSVfile2(token, ThePlaceTOupload): query_dict = {'file': open('E:\sample.csv','rb'), (...)
open('E:\\sample.csv','rb')
open('E:/sample.csv','rb')
open(r'E:\sample.csv','rb')
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.