Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3610 Widoki

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)})

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
lis 22
2801
7
sty 24
15559
0
mar 15
4159
0
mar 15
5340
2
wrz 23
1564