René's URL Explorer Experiment


Title: python-by-example/python-by-example.rst at master · luzfcb/python-by-example · GitHub

Open Graph Title: python-by-example/python-by-example.rst at master · luzfcb/python-by-example

X Title: python-by-example/python-by-example.rst at master · luzfcb/python-by-example

Description: Git repository for the "Python Language Features and Tricks You May Not Know Article" at http://sahandsaba.com/thirty-python-language-features-and-tricks-you-may-not-know.html - python-by-example/python-by-example.rst at master · luzfcb/python-by-example

Open Graph Description: Git repository for the "Python Language Features and Tricks You May Not Know Article" at http://sahandsaba.com/thirty-python-language-features-and-tricks-you-may-not-know.html - luzfcb/p...

X Description: Git repository for the "Python Language Features and Tricks You May Not Know Article" at http://sahandsaba.com/thirty-python-language-features-and-tricks-you-may-not-know.html - ...

Opengraph URL: https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/blob/*name(/*path)
route-controllerblob
route-actionshow
fetch-noncev2:f248dcb4-2b59-42a1-fb40-a7c5a2a0540b
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idEB0E:44273:A33FDD:EA4E4B:6A4E43DC
html-safe-nonce9d88413b2bb775a2277f580b74fd7bacfa6bb600bf5f6f8548280e7c20d4943e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjBFOjQ0MjczOkEzM0ZERDpFQTRFNEI6NkE0RTQzREMiLCJ2aXNpdG9yX2lkIjoiNTYyNTU3NDk4Mzg2MDExMDMwMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb3802e2b9adbd73982b4f84b1d99af6a458ebadfee78d58c25df4d80694713b2
hovercard-subject-tagrepository:18528529
github-keyboard-shortcutsrepository,source-code,file-tree,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///blob/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst
twitter:imagehttps://opengraph.githubassets.com/00b9e3ab0b199f6b3303ff5ef9760354e968daeb8d8bcce95d669fd6dfc8223b/luzfcb/python-by-example
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/00b9e3ab0b199f6b3303ff5ef9760354e968daeb8d8bcce95d669fd6dfc8223b/luzfcb/python-by-example
og:image:altGit repository for the "Python Language Features and Tricks You May Not Know Article" at http://sahandsaba.com/thirty-python-language-features-and-tricks-you-may-not-know.html - luzfcb/p...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0
turbo-cache-controlno-cache
go-importgithub.com/luzfcb/python-by-example git https://github.com/luzfcb/python-by-example.git
octolytics-dimension-user_id807599
octolytics-dimension-user_loginluzfcb
octolytics-dimension-repository_id18528529
octolytics-dimension-repository_nwoluzfcb/python-by-example
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id17758943
octolytics-dimension-repository_parent_nwosahands/python-by-example
octolytics-dimension-repository_network_root_id17758943
octolytics-dimension-repository_network_root_nwosahands/python-by-example
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
release9fabff9b8b127e686a3ec86f91422e818056ca2c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fluzfcb%2Fpython-by-example%2Fblob%2Fmaster%2Fpython-by-example.rst
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fluzfcb%2Fpython-by-example%2Fblob%2Fmaster%2Fpython-by-example.rst
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fblob%2Fshow&source=header-repo&source_repo=luzfcb%2Fpython-by-example
Reloadhttps://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst
Reloadhttps://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst
Reloadhttps://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst
luzfcb https://github.com/luzfcb
python-by-examplehttps://github.com/luzfcb/python-by-example
sahands/python-by-examplehttps://github.com/sahands/python-by-example
Notifications https://github.com/login?return_to=%2Fluzfcb%2Fpython-by-example
Fork 0 https://github.com/login?return_to=%2Fluzfcb%2Fpython-by-example
Star 0 https://github.com/login?return_to=%2Fluzfcb%2Fpython-by-example
Code https://github.com/luzfcb/python-by-example
Pull requests 0 https://github.com/luzfcb/python-by-example/pulls
Actions https://github.com/luzfcb/python-by-example/actions
Projects https://github.com/luzfcb/python-by-example/projects
Wiki https://github.com/luzfcb/python-by-example/wiki
Security and quality 0 https://github.com/luzfcb/python-by-example/security
Insights https://github.com/luzfcb/python-by-example/pulse
Code https://github.com/luzfcb/python-by-example
Pull requests https://github.com/luzfcb/python-by-example/pulls
Actions https://github.com/luzfcb/python-by-example/actions
Projects https://github.com/luzfcb/python-by-example/projects
Wiki https://github.com/luzfcb/python-by-example/wiki
Security and quality https://github.com/luzfcb/python-by-example/security
Insights https://github.com/luzfcb/python-by-example/pulse
https://github.com/luzfcb/python-by-example
python-by-examplehttps://github.com/luzfcb/python-by-example/tree/master
Historyhttps://github.com/luzfcb/python-by-example/commits/master/python-by-example.rst
https://github.com/luzfcb/python-by-example/commits/master/python-by-example.rst
python-by-examplehttps://github.com/luzfcb/python-by-example/tree/master
Rawhttps://github.com/luzfcb/python-by-example/raw/refs/heads/master/python-by-example.rst
https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#30-python-language-features-and-tricks-you-may-not-know-about
https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#1introduction
table of contentshttps://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#table-of-contents
Roy Keyeshttp://roycoding.github.io
https://github.com/sahands/python-by-examplehttps://github.com/sahands/python-by-example
http://redd.it/1zv3q3http://redd.it/1zv3q3
https://news.ycombinator.com/item?id=7365410https://news.ycombinator.com/item?id=7365410
https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#11unpacking
https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#12unpacking-for-swapping-variables
https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#13extended-unpacking-python-3-only
https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#14negative-indexing
https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#15list-slices-astartend
https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#16list-slices-with-negative-indexing
https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#17list-slices-with-step-astartendstep
https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#18list-slices-with-negative-step
https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#19list-slice-assignment
https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#110naming-slices-slicestart-end-step
https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#111zipping-and-unzipping-lists-and-iterables
https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#112grouping-adjacent-list-items-using-zip
https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#113sliding-windows-n-grams-using-zip-and-iterators
https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#114inverting-a-dictionary-using-zip
https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#115flattening-lists
documentationhttp://docs.python.org/2.7/library/functions.html#sum
https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#116generator-expressions
https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#117dictionary-comprehensions
https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#118inverting-a-dictionary-using-a-dictionary-comprehension
https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#119named-tuples-collectionsnamedtuple
https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#120inheriting-from-named-tuples
https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#121sets-and-set-operations
https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#122multisets-and-multiset-operations-collectionscounter
https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#123most-common-elements-in-an-iterable-collectionscounter
https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#124double-ended-queue-collectionsdeque
https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#125double-ended-queue-with-maximum-length-collectionsdeque
https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#126ordered-dictionaries-collectionsordereddict
https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#127default-dictionaries-collectionsdefaultdict
https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#128using-default-dictionaries-to-represent-simple-trees
https://gist.github.com/hrldcpr/2012250https://gist.github.com/hrldcpr/2012250
https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#129mapping-objects-to-unique-counting-numbers-collectionsdefaultdict
https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#130largest-and-smallest-elements-heapqnlargest-and-heapqnsmallest
https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#131cartesian-products-itertoolsproduct
https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#132combinations-and-combinations-with-replacement-itertoolscombinations-and-itertoolscombinations_with_replacement
https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#133permutations-itertoolspermutations
https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#134chaining-iterables-itertoolschain
https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#135grouping-rows-by-a-given-key-itertoolsgroupby
https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#2table-of-contents
1   Introductionhttps://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#introduction
1.1   Unpackinghttps://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#unpacking
1.2   Unpacking for swapping variableshttps://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#unpacking-for-swapping-variables
1.3   Extended unpacking (Python 3 only)https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#extended-unpacking-python-3-only
1.4   Negative indexinghttps://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#negative-indexing
1.5   List slices (a[start:end])https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#list-slices-a-start-end
1.6   List slices with negative indexinghttps://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#list-slices-with-negative-indexing
1.7   List slices with step (a[start:end:step])https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#list-slices-with-step-a-start-end-step
1.8   List slices with negative stephttps://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#list-slices-with-negative-step
1.9   List slice assignmenthttps://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#list-slice-assignment
1.10   Naming slices (slice(start, end, step))https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#naming-slices-slice-start-end-step
1.11   Zipping and unzipping lists and iterableshttps://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#zipping-and-unzipping-lists-and-iterables
1.12   Grouping adjacent list items using ziphttps://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#grouping-adjacent-list-items-using-zip
1.13   Sliding windows (n-grams) using zip and iteratorshttps://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#sliding-windows-n-grams-using-zip-and-iterators
1.14   Inverting a dictionary using ziphttps://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#inverting-a-dictionary-using-zip
1.15   Flattening lists:https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#flattening-lists
1.16   Generator expressionshttps://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#generator-expressions
1.17   Dictionary comprehensionshttps://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#dictionary-comprehensions
1.18   Inverting a dictionary using a dictionary comprehensionhttps://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#inverting-a-dictionary-using-a-dictionary-comprehension
1.19   Named tuples (collections.namedtuple)https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#named-tuples-collections-namedtuple
1.20   Inheriting from named tuples:https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#inheriting-from-named-tuples
1.21   Sets and set operationshttps://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#sets-and-set-operations
1.22   Multisets and multiset operations (collections.Counter)https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#multisets-and-multiset-operations-collections-counter
1.23   Most common elements in an iterable (collections.Counter)https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#most-common-elements-in-an-iterable-collections-counter
1.24   Double-ended queue (collections.deque)https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#double-ended-queue-collections-deque
1.25   Double-ended queue with maximum length (collections.deque)https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#double-ended-queue-with-maximum-length-collections-deque
1.26   Ordered dictionaries (collections.OrderedDict)https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#ordered-dictionaries-collections-ordereddict
1.27   Default dictionaries (collections.defaultdict)https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#default-dictionaries-collections-defaultdict
1.28   Using default dictionaries to represent simple treeshttps://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#using-default-dictionaries-to-represent-simple-trees
1.29   Mapping objects to unique counting numbers (collections.defaultdict)https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#mapping-objects-to-unique-counting-numbers-collections-defaultdict
1.30   Largest and smallest elements (heapq.nlargest and heapq.nsmallest)https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#largest-and-smallest-elements-heapq-nlargest-and-heapq-nsmallest
1.31   Cartesian products (itertools.product)https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#cartesian-products-itertools-product
1.32   Combinations and combinations with replacement (itertools.combinations and itertools.combinations_with_replacement)https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#combinations-and-combinations-with-replacement-itertools-combinations-and-itertools-combinations-with-replacement
1.33   Permutations (itertools.permutations)https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#permutations-itertools-permutations
1.34   Chaining iterables (itertools.chain)https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#chaining-iterables-itertools-chain
1.35   Grouping rows by a given key (itertools.groupby)https://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#grouping-rows-by-a-given-key-itertools-groupby
2   Table of contentshttps://github.com/luzfcb/python-by-example/blob/master/python-by-example.rst#id1
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.