René's URL Explorer Experiment


Title: Python and the Web Notes Feedback · Issue #14 · stanfordpython/course-reader · GitHub

Open Graph Title: Python and the Web Notes Feedback · Issue #14 · stanfordpython/course-reader

X Title: Python and the Web Notes Feedback · Issue #14 · stanfordpython/course-reader

Description: Another gorgeous set of notes. 🦄👍 (Apologies if any of my comments don't make perfect sense or are poorly worded - it's a bit late and I'm starting to get tired as I'm writing these). Line 5: Might be worth a quick explanation of why we ...

Open Graph Description: Another gorgeous set of notes. 🦄👍 (Apologies if any of my comments don't make perfect sense or are poorly worded - it's a bit late and I'm starting to get tired as I'm writing these). Line 5: Might...

X Description: Another gorgeous set of notes. 🦄👍 (Apologies if any of my comments don't make perfect sense or are poorly worded - it's a bit late and I'm starting to get tired as I'm writing these...

Opengraph URL: https://github.com/stanfordpython/course-reader/issues/14

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Python and the Web Notes Feedback","articleBody":"Another gorgeous set of notes. 🦄👍 (Apologies if any of my comments don't make perfect sense or are poorly worded - it's a bit late and I'm starting to get tired as I'm writing these).\r\n\r\n- Line 5: Might be worth a quick explanation of why we need to install this one via pip (as this is the first pip-installed library they will have seen) while the others can just be imported normally.\r\n- Line 29: \"That's right!\" doesn't seem to fit since there wasn't a question posed immediately prior. Perhaps just omit the exclamation.\r\n- Line 29(ish): Since they've seen (and should be comfortable with) classes already, there might be a clearer way to present this material through the OOP lens of the third set of notes. That is, present the response upfront as an instance of a `Response` object (which you do), then use subheadings to enumerate useful attributes and methods and present them as you would any other function (like you presented some of the functions in the Data Structures notes set). Perhaps this is just personal preference, but something with a little more structure would clarify my understanding as I went through the description of this object.\r\n- Line 41: Might want to make a quick note here that `r.ok` is a wrapper for `r.status_code \u003c= 200`, and indicate that HTTP codes of less than or equal to 200 indicate that a request was successfully processed.\r\n- Line 47: \"know that the response probably contains meaningful information\" - I'm struggling to think of a counterexample where we make a successful request that doesn't contain any meaningful information. If the request goes through, then isn't `r.content` always populated with page content?\r\n- Line 65: Small nit - we should refer to HTML as a markup language.\r\n- Line 71: HTML is exciting, but not _that_ exciting. Let's use a period. 😝\r\n- Line 71 (and some prior lines): \"but we're not going to do that right now\" - this seems like a peculiar detour for something we aren't going to do right now.... or later in this notes set. Here, I'd recommend flagging BeautifulSoup and requests-html, to bring closure to the HTML side of things. Then, perhaps motivate our use of JSON before transitioning to that part of the discussion - explain that lots of APIs use JSON as a way to interact better with programming environments, for example.\r\n- Line 75: I know we do this later, but to start, it could be cool to have a screenshot of this site from the browser, so students can see the content in plaintext in the browser page before querying the site using Python.\r\n- Line 92: Change \"to Python code\" to \"to a Python dictionary,\" and before you mention that, make the observation that JSON looks really really similar to Python dictionaries.\r\n- Line 136: \"This is really useful because most web programming languages aren't as powerful as Python.\" This is false, if we're going under the assumption that \"power\" refers to Turing completeness. If there's another definition of \"power\" that we're using here, let's perhaps add in some more specific phrasing to communicate specific intent. Honestly I'm not entirely sure what you are trying to convey in this statement.\r\n- Line 163: Awesome job with this breakdown. This is really accessible and nice. And great work explaining the role of that decorator in such accessible language.\r\n- Line 176: \"The first line tells Flask to start `app.py`...\" This, strictly speaking, isn't true - it sets an environment variable to indicate to Flask which file to run when the server starts up. But the command does not \"start\" any file such as `app.py`, so I'd recommend rephrasing to reduce ambiguity.\r\n- Line 236: Perhaps consider a small detailing of the `\u003cname\u003e` syntax before dropping it straight into the example.\r\n- Line 288: I know we've seen all the pieces before, but since we're putting them together in a new way, it would be nice to have a brief overview (in English) of what's going on before dropping the reader straight into a code example - especially a code example that's just been flagged as \"More Complex\" by the section header.\r\n- Line 329: This is a neat and fun example, but it's quite unclear to me where Jinja2 comes in. I don't see it imported in either of the files, nor do I see you pip install it anywhere. This should be clarified. Also... what actually is Jinja2? It's never really detailed.\r\n- Line 365: There's all of a sudden a lot going on here, and a couple more links need to be drawn explicitly. I'd make the comparison here between HTML and the `.format` operator, where you're basically interpreting the Jinja template as a string to which you apply the `.format` function to fill in certain variables. It might also be good to draw the reader's eye toward the more useful elements of the HTML they see, such as the title and the link (and to explicitly flag what these are and why they're important), rather than the meta charset or the viewport name.\r\n\r\nAll in all, really excellent work - I love this set of notes! 😊","author":{"url":"https://github.com/cooper-mj","@type":"Person","name":"cooper-mj"},"datePublished":"2020-09-13T07:28:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/14/course-reader/issues/14"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:f242d40e-1f39-57fc-701d-b5bf64d0e7e0
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA324:B3C06:2A0D7:34AC4:697E5283
html-safe-noncea6a61613e0546b9628545515a93bf1cd25a3374f775102a9787c0b28f14f2a3f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMzI0OkIzQzA2OjJBMEQ3OjM0QUM0OjY5N0U1MjgzIiwidmlzaXRvcl9pZCI6IjU5Nzc4MjQxMDU0NDY5Nzk4NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac35285bc244c4596259756279d9d448e29e61bad8e10e88672164f9d70e3e6edf
hovercard-subject-tagissue:700516418
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/stanfordpython/course-reader/14/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7ed6bac8e9465344bdb3b3856f235e0cfeaa331921c6961588ddaf67d7b15ee7/stanfordpython/course-reader/issues/14
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7ed6bac8e9465344bdb3b3856f235e0cfeaa331921c6961588ddaf67d7b15ee7/stanfordpython/course-reader/issues/14
og:image:altAnother gorgeous set of notes. 🦄👍 (Apologies if any of my comments don't make perfect sense or are poorly worded - it's a bit late and I'm starting to get tired as I'm writing these). Line 5: Might...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecooper-mj
hostnamegithub.com
expected-hostnamegithub.com
None60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6
turbo-cache-controlno-preview
go-importgithub.com/stanfordpython/course-reader git https://github.com/stanfordpython/course-reader.git
octolytics-dimension-user_id13142353
octolytics-dimension-user_loginstanfordpython
octolytics-dimension-repository_id284186205
octolytics-dimension-repository_nwostanfordpython/course-reader
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id284186205
octolytics-dimension-repository_network_root_nwostanfordpython/course-reader
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7c85641c598ad130c74f7bcc27f58575cac69551
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/stanfordpython/course-reader/issues/14#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstanfordpython%2Fcourse-reader%2Fissues%2F14
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstanfordpython%2Fcourse-reader%2Fissues%2F14
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=stanfordpython%2Fcourse-reader
Reloadhttps://patch-diff.githubusercontent.com/stanfordpython/course-reader/issues/14
Reloadhttps://patch-diff.githubusercontent.com/stanfordpython/course-reader/issues/14
Reloadhttps://patch-diff.githubusercontent.com/stanfordpython/course-reader/issues/14
stanfordpython https://patch-diff.githubusercontent.com/stanfordpython
course-readerhttps://patch-diff.githubusercontent.com/stanfordpython/course-reader
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fstanfordpython%2Fcourse-reader
Fork 7 https://patch-diff.githubusercontent.com/login?return_to=%2Fstanfordpython%2Fcourse-reader
Star 14 https://patch-diff.githubusercontent.com/login?return_to=%2Fstanfordpython%2Fcourse-reader
Code https://patch-diff.githubusercontent.com/stanfordpython/course-reader
Issues 5 https://patch-diff.githubusercontent.com/stanfordpython/course-reader/issues
Pull requests 3 https://patch-diff.githubusercontent.com/stanfordpython/course-reader/pulls
Actions https://patch-diff.githubusercontent.com/stanfordpython/course-reader/actions
Projects 0 https://patch-diff.githubusercontent.com/stanfordpython/course-reader/projects
Security 0 https://patch-diff.githubusercontent.com/stanfordpython/course-reader/security
Insights https://patch-diff.githubusercontent.com/stanfordpython/course-reader/pulse
Code https://patch-diff.githubusercontent.com/stanfordpython/course-reader
Issues https://patch-diff.githubusercontent.com/stanfordpython/course-reader/issues
Pull requests https://patch-diff.githubusercontent.com/stanfordpython/course-reader/pulls
Actions https://patch-diff.githubusercontent.com/stanfordpython/course-reader/actions
Projects https://patch-diff.githubusercontent.com/stanfordpython/course-reader/projects
Security https://patch-diff.githubusercontent.com/stanfordpython/course-reader/security
Insights https://patch-diff.githubusercontent.com/stanfordpython/course-reader/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/stanfordpython/course-reader/issues/14
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/stanfordpython/course-reader/issues/14
Python and the Web Notes Feedbackhttps://patch-diff.githubusercontent.com/stanfordpython/course-reader/issues/14#top
https://patch-diff.githubusercontent.com/parthsarin
https://github.com/cooper-mj
https://github.com/cooper-mj
cooper-mjhttps://github.com/cooper-mj
on Sep 13, 2020https://github.com/stanfordpython/course-reader/issues/14#issue-700516418
parthsarinhttps://patch-diff.githubusercontent.com/parthsarin
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.