savepath(r"E:\python\千货!python爬虫100个入门项目\douban.xls") 改为 savepath=r"E:\python\千货!python爬虫100个入门项目\douban.xls"
这样定义变量
savepath = r'xxxxxxx'