Chinaunix
标题:
python怎么设置header为excel文件类型???
[打印本页]
作者:
akkuge
时间:
2011-07-28 20:18
标题:
python怎么设置header为excel文件类型???
求高手,python怎么设置header为excel文件类型???
web.header("Content-Type: application/vnd.ms-excel;charset=big5")
web.header("Content-Disposition: attachment; filename="+savename+".xls")
作者:
renxiao2003
时间:
2011-07-29 23:30
这样应该可以吧。所有html头都应该是统一的。
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2