Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
3177 Vizualizări

or how to upload an excel file onto a field who is a field.Binary() by python code?

I have tried as below codes but failed:


test = xlrd.open_workbook('C:\Users\Administrator\Desktop\s.xlsx')

self.write({'datafile': base64.encodestring(test)})

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
nov. 22
2511
7
ian. 24
15134
0
mar. 15
3889
0
mar. 15
5088
2
sept. 23
1305