简体   繁体   中英

Save web scraping data to excel using xlwing?

firstly i am just newbie to coding anything. I have an python script which extracts data from stock exchange web page and saves it to csv by pandas dataframe. But the issue is i cant open csv while it is being written so i searched and found xlwings can do the job but i dont to know how to do it. i just want that data to be saved in test.xlsx file and keep getting refreshed. Please can anyone look into it. here is my code.

link to my code https://drive.google.com/file/d/1y3gVPJX8xEcsH_tLSllFspVlCYB_Bfjp/view?usp=sharing

firstly i am just newbie to coding anything. I have an python script which extracts data from stock exchange web page and saves it to csv by pandas dataframe. But the issue is i cant open csv while it is being written so i searched and found xlwings can do the job but i dont to know how to do it. i just want that data to be saved in test.xlsx file and keep getting refreshed. Please can anyone look into it. here is my code.

link to my code https://drive.google.com/file/d/1y3gVPJX8xEcsH_tLSllFspVlCYB_Bfjp/view?usp=sharing

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM