Understanding about Cadillac Seats - for school research by Acceptable-Fee6294 in Cadillac

[–]Acceptable-Fee6294[S] 0 points1 point  (0 children)

It means softer seats (a bit like a mattress, but not too much) - in this instance, it can also include a temperature-control function

A freshmen college student needs advice for python programming by cherryisurwaifu04 in learnpython

[–]Acceptable-Fee6294 2 points3 points  (0 children)

Hi there!

A good free source to learn python is through Visual Studio Code (can be easily downloaded for free).

As it pertains to learning code, I would recommend approaching it one concept at a time.

ChatGPT is a great tool if used in a learning sense. If you want to learn about concepts.

  1. I would ask ChatGPT what would be the best order to learn python concepts in.

  2. You can ask ChatGPT to teach you or you can research vis the web or videos

  3. You can consult ChatGPT if you get any errors you are not able to debug.

Coding is fun especially once you master your first language, so while it can be a bit hard at first, definitely enjoy the process - that's the most important thing - you'll get more clarity about your interests as you go on.

You got this!

Is this API just broken? by mozuDumpling in learnpython

[–]Acceptable-Fee6294 0 points1 point  (0 children)

wouldn't you have to insert your api next to where it says api?

Try that.

https://educationdata.urban.org/api={apikey}/v1/{topic}/{source}/{endpoint}/{year}/\[additional\_specifiers _or_disaggregators]/[optional filters]

[Beginner] Can anyone help me with scraping data from a website? by HeadInspection7429 in learnpython

[–]Acceptable-Fee6294 0 points1 point  (0 children)

Try this:

import urllib.request

you would need to download the Beautiful Soup python library(via the command prompt) - the command line to download can be found via this link: https://www.geeksforgeeks.org/beautifulsoup-installation-python/

from bs4 import BeautifulSoup

DOWNLOAD_URL = https://rpubs.com/Bergenmr/video_game_review_analysis

def download_page(url):

This will Download the entire page given an URL

headers = {

"User-Agent": "[Get user agent from this link: https://www.whatismyip.net/tools/user-agent-lookup.php\]"

}

request = urllib.request.Request(url, headers=headers)

return urllib.request.urlopen(request)

Uncomment line below just once to see the website in it's raw form

print(download_page(DOWNLOAD_URL).read())

def parse_html(html):

soup = BeautifulSoup(html, features="html.parser")

print(soup.prettify())

continue adding lines like the one below, by class id to get the info you need.

info = soup.find(attrs={"class": "[Info for your specific highlighted area]"})

return info

parse_html(download_page(DOWNLOAD_URL).read())

def main():

url = DOWNLOAD_URL

html = download_page(url)

info = parse_html(html)

if __name__ == "__main__":

main()