Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3169 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
2506
7
sty 24
15130
0
mar 15
3887
0
mar 15
5080
2
wrz 23
1304