I need to parse the data contained in a table on a Google Doc that looks like so:
This code:
import requests
def retrieve_parse_and_print_doc(docURL):
response = requests.get(docURL)
assert response.status_code == 200, 'Wrong status code'
lines = response.content.splitlines()
for line in lines:
print(line)
retrieve_parse_and_print_doc('
https://docs.google.com/document/...[elided]/pub')
/>
...returned data, but it doesn't appear to be useful:
So how can I extract the table's data?
How can I parse the data from a Table On a Google Docs Using Python?
Programing Coderfunda
August 04, 2024
No comments
Related Posts:
How to use return value from method in Java?I want to use the return value from a member function by storing it into a variable and then using it. For example: public int give_value(int x,int y… Read More
Mapping json to class/modelHello, I've looked into this few times, but decided to ask here if someone has found better solution. I'm looking for some kind of package/or built … Read More
Opinions on this Laravel Actions package?https://www.laravelactions.com/ Has anyone used it and stopped using it? What were your reasons? Anyone loving it and use it for everything? subm… Read More
Real World Laravel - Adding user events to my SaaS appsubmitted by /u/TarheelSwim [link] [comments]… Read More
How to implement something like an SDK? [closed]I'm developing a Rust application, with some feature to be implemeted in Python. I plan to expose some Python function API to users, so that users can… Read More
0 comments:
Post a Comment
Thanks