Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3241 Zobrazení

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

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
lis 22
2549
7
led 24
15178
0
bře 15
3917
0
bře 15
5115
2
zář 23
1333