Relative Content

Tag Archive for pythongspread

ModuleNotFoundError: No module named ‘gspread’ after working previously with no changes to the environment

I created a script last night to connect to my google sheets. It worked properly on my PC, and I pushed my changes to GitHub. I then worked on it some more on my personal laptop, pushed my changes to GitHub and then called it a day. I came back to my PC this morning to work on it some more. I pulled my changes and opened the notebook, and the script no longer works. I get the following error:

ModuleNotFoundError: No module named ‘gspread’ after working last night

I created a script last night to connect to my google sheets. It worked properly on my PC, and I pushed my changes to GitHub. I then worked on it some more on my personal laptop, pushed my changes to GitHub and then called it a day. I came back to my PC this morning to work on it some more. I pulled my changes and opened the notebook, and the script no longer works. I get the following error:

gspread python formatting ques

worsksheet.clear() is not clearing the formatting on the cells it is only clearing the values is there a way to clear the foprmating too either on all cells or a specified range