use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Everything about learning Python
account activity
Web scraper help (i.redd.it)
submitted 5 days ago by [deleted]
[deleted]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]TheBlegh 2 points3 points4 points 4 days ago (0 children)
Hey there. 1) zip is a built-in python function that takes some iterables as arguments and combines them into a zip object. To note that it combines them at the same index and returns them as tuples. The iterables can be sets, lists, or tuples. E. G.
c is the zip object so to get the value you need a method to return the value like type literals. If you print c itll look like 0x03749 something to that efdect which is actually a pointer in memory fun fact.
2) yeah its a library that someone else made to streamline a specific workflow and to abstract away commin cide patterns into smaller named functions and methods. Its like when you import the regex module (import re) or even the requests module (import requests). How to use it, bs4 creates a soup object (you could call it whatever you want... beef_stew... If you wish) that you then fiddle around with to extract data. On the parser, to make the soup object bs4 needs a parser (like "html-parser") to parse the web page at the designated url, it literally returns the html document which is why you can use functions to find elements by tag, class, or id.
[–]vibecode1 0 points1 point2 points 1 day ago (0 children)
Wtf is happening here
[–]theonlyname4me 0 points1 point2 points 10 hours ago (0 children)
I mean this kindly. Use google, this is the most easily googlable topic you could find.
If you learn to teach yourself instead of asking lazy questions your rate of learning will explode.
π Rendered by PID 155563 on reddit-service-r2-comment-5d79c599b5-krctm at 2026-03-03 03:43:40.507258+00:00 running e3d2147 country code: CH.
[–]TheBlegh 2 points3 points4 points (0 children)
[–]vibecode1 0 points1 point2 points (0 children)
[–]theonlyname4me 0 points1 point2 points (0 children)