RenΓ©'s URL Explorer Experiment


Title: GitHub - PythonNuts/wtfpython at development

Open Graph Title: GitHub - PythonNuts/wtfpython at development

X Title: GitHub - PythonNuts/wtfpython at development

Description: A collection of surprising Python snippets and lesser-known features. - GitHub - PythonNuts/wtfpython at development

Open Graph Description: A collection of surprising Python snippets and lesser-known features. - GitHub - PythonNuts/wtfpython at development

X Description: A collection of surprising Python snippets and lesser-known features. - GitHub - PythonNuts/wtfpython at development

Opengraph URL: https://github.com/PythonNuts/wtfpython

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/tree/*name(/*path)
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:ed87580c-b274-11e1-eeb5-dc282ccad56d
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idC408:378C0F:1E3DA3D:29AC32E:696AB704
html-safe-nonce1cc4fa31f9fcba9781ebc3bc857619277a0f4a90e2dd9282c8bef44678274aaa
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDA4OjM3OEMwRjoxRTNEQTNEOjI5QUMzMkU6Njk2QUI3MDQiLCJ2aXNpdG9yX2lkIjoiODM4OTMwMDc1Mjk2MTE4NTMyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac03e5684eb306b328d246f91c44901b4b58828b7be27aab16be6481a0d238ab5c
hovercard-subject-tagrepository:119226570
github-keyboard-shortcutsrepository,source-code,file-tree,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///files/disambiguate
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/PythonNuts/wtfpython/tree/development
twitter:imagehttps://opengraph.githubassets.com/ef76c5e88a4b4f3bdbf29f2bf3ca373e1198d001d94996edc0a39039063a1329/PythonNuts/wtfpython
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ef76c5e88a4b4f3bdbf29f2bf3ca373e1198d001d94996edc0a39039063a1329/PythonNuts/wtfpython
og:image:altA collection of surprising Python snippets and lesser-known features. - GitHub - PythonNuts/wtfpython at development
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None4fa1799b6a53c2d30c950d74230781bef9e7f61138c72c7727e4b83f0743752b
turbo-cache-controlno-preview
go-importgithub.com/PythonNuts/wtfpython git https://github.com/PythonNuts/wtfpython.git
octolytics-dimension-user_id9855267
octolytics-dimension-user_loginPythonNuts
octolytics-dimension-repository_id119226570
octolytics-dimension-repository_nwoPythonNuts/wtfpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id101684374
octolytics-dimension-repository_parent_nwosatwikkansal/wtfpython
octolytics-dimension-repository_network_root_id101684374
octolytics-dimension-repository_network_root_nwosatwikkansal/wtfpython
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
release41f276818bd204c4a30a0281fb3c576298d9474c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/PythonNuts/wtfpython/tree/development#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPythonNuts%2Fwtfpython%2Ftree%2Fdevelopment
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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPythonNuts%2Fwtfpython%2Ftree%2Fdevelopment
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%2Ffiles%2Fdisambiguate&source=header-repo&source_repo=PythonNuts%2Fwtfpython
Reloadhttps://github.com/PythonNuts/wtfpython/tree/development
Reloadhttps://github.com/PythonNuts/wtfpython/tree/development
Reloadhttps://github.com/PythonNuts/wtfpython/tree/development
PythonNuts https://github.com/PythonNuts
wtfpythonhttps://github.com/PythonNuts/wtfpython
satwikkansal/wtfpythonhttps://github.com/satwikkansal/wtfpython
Notifications https://github.com/login?return_to=%2FPythonNuts%2Fwtfpython
Fork 0 https://github.com/login?return_to=%2FPythonNuts%2Fwtfpython
Star 0 https://github.com/login?return_to=%2FPythonNuts%2Fwtfpython
WTFPL license https://github.com/PythonNuts/wtfpython/blob/master/LICENSE
0 stars https://github.com/PythonNuts/wtfpython/stargazers
2.7k forks https://github.com/PythonNuts/wtfpython/forks
Branches https://github.com/PythonNuts/wtfpython/branches
Tags https://github.com/PythonNuts/wtfpython/tags
Activity https://github.com/PythonNuts/wtfpython/activity
Star https://github.com/login?return_to=%2FPythonNuts%2Fwtfpython
Notifications https://github.com/login?return_to=%2FPythonNuts%2Fwtfpython
Code https://github.com/PythonNuts/wtfpython/tree/development
Pull requests 0 https://github.com/PythonNuts/wtfpython/pulls
Actions https://github.com/PythonNuts/wtfpython/actions
Projects 0 https://github.com/PythonNuts/wtfpython/projects
Wiki https://github.com/PythonNuts/wtfpython/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/PythonNuts/wtfpython/security
Please reload this pagehttps://github.com/PythonNuts/wtfpython/tree/development
Insights https://github.com/PythonNuts/wtfpython/pulse
Code https://github.com/PythonNuts/wtfpython/tree/development
Pull requests https://github.com/PythonNuts/wtfpython/pulls
Actions https://github.com/PythonNuts/wtfpython/actions
Projects https://github.com/PythonNuts/wtfpython/projects
Wiki https://github.com/PythonNuts/wtfpython/wiki
Security https://github.com/PythonNuts/wtfpython/security
Insights https://github.com/PythonNuts/wtfpython/pulse
Brancheshttps://github.com/PythonNuts/wtfpython/branches
Tagshttps://github.com/PythonNuts/wtfpython/tags
https://github.com/PythonNuts/wtfpython/branches
https://github.com/PythonNuts/wtfpython/tags
133 Commitshttps://github.com/PythonNuts/wtfpython/commits/development/
https://github.com/PythonNuts/wtfpython/commits/development/
images/tic-tac-toehttps://github.com/PythonNuts/wtfpython/tree/development/images/tic-tac-toe
images/tic-tac-toehttps://github.com/PythonNuts/wtfpython/tree/development/images/tic-tac-toe
.gitattributeshttps://github.com/PythonNuts/wtfpython/blob/development/.gitattributes
.gitattributeshttps://github.com/PythonNuts/wtfpython/blob/development/.gitattributes
.gitignorehttps://github.com/PythonNuts/wtfpython/blob/development/.gitignore
.gitignorehttps://github.com/PythonNuts/wtfpython/blob/development/.gitignore
.npmignorehttps://github.com/PythonNuts/wtfpython/blob/development/.npmignore
.npmignorehttps://github.com/PythonNuts/wtfpython/blob/development/.npmignore
CONTRIBUTING.mdhttps://github.com/PythonNuts/wtfpython/blob/development/CONTRIBUTING.md
CONTRIBUTING.mdhttps://github.com/PythonNuts/wtfpython/blob/development/CONTRIBUTING.md
LICENSEhttps://github.com/PythonNuts/wtfpython/blob/development/LICENSE
LICENSEhttps://github.com/PythonNuts/wtfpython/blob/development/LICENSE
README.mdhttps://github.com/PythonNuts/wtfpython/blob/development/README.md
README.mdhttps://github.com/PythonNuts/wtfpython/blob/development/README.md
mixed_tabs_and_spaces.pyhttps://github.com/PythonNuts/wtfpython/blob/development/mixed_tabs_and_spaces.py
mixed_tabs_and_spaces.pyhttps://github.com/PythonNuts/wtfpython/blob/development/mixed_tabs_and_spaces.py
package.jsonhttps://github.com/PythonNuts/wtfpython/blob/development/package.json
package.jsonhttps://github.com/PythonNuts/wtfpython/blob/development/package.json
wtfpythonhttps://github.com/PythonNuts/wtfpython/blob/development/wtfpython
wtfpythonhttps://github.com/PythonNuts/wtfpython/blob/development/wtfpython
READMEhttps://github.com/PythonNuts/wtfpython/tree/development
Contributinghttps://github.com/PythonNuts/wtfpython/tree/development
Licensehttps://github.com/PythonNuts/wtfpython/tree/development
https://github.com/PythonNuts/wtfpython/tree/development#-what-the-fck-python--
http://www.wtfpl.net
https://github.com/PythonNuts/wtfpython/tree/development#table-of-contents
Structure of the Exampleshttps://github.com/PythonNuts/wtfpython/tree/development#structure-of-the-examples
Usagehttps://github.com/PythonNuts/wtfpython/tree/development#usage
πŸ‘€ Exampleshttps://github.com/PythonNuts/wtfpython/tree/development#-examples
Skipping lines?https://github.com/PythonNuts/wtfpython/tree/development#skipping-lines
πŸ’‘ Explanationhttps://github.com/PythonNuts/wtfpython/tree/development#-explanation
Well, something is fishy...https://github.com/PythonNuts/wtfpython/tree/development#well-something-is-fishy
πŸ’‘ Explanationhttps://github.com/PythonNuts/wtfpython/tree/development#-explanation-1
Time for some hash brownies!https://github.com/PythonNuts/wtfpython/tree/development#time-for-some-hash-brownies
πŸ’‘ Explanationhttps://github.com/PythonNuts/wtfpython/tree/development#-explanation-2
Evaluation time discrepancyhttps://github.com/PythonNuts/wtfpython/tree/development#evaluation-time-discrepancy
πŸ’‘ Explanationhttps://github.com/PythonNuts/wtfpython/tree/development#-explanation-3
Modifying a dictionary while iterating over ithttps://github.com/PythonNuts/wtfpython/tree/development#modifying-a-dictionary-while-iterating-over-it
πŸ’‘ Explanation:https://github.com/PythonNuts/wtfpython/tree/development#-explanation
Deleting a list item while iterating over ithttps://github.com/PythonNuts/wtfpython/tree/development#deleting-a-list-item-while-iterating-over-it
πŸ’‘ Explanation:https://github.com/PythonNuts/wtfpython/tree/development#-explanation-1
Backslashes at the end of stringhttps://github.com/PythonNuts/wtfpython/tree/development#backslashes-at-the-end-of-string
πŸ’‘ Explanationhttps://github.com/PythonNuts/wtfpython/tree/development#-explanation-4
String interninghttps://github.com/PythonNuts/wtfpython/tree/development#string-interning
πŸ’‘ Explanation:https://github.com/PythonNuts/wtfpython/tree/development#-explanation-2
Let's make a giant string!https://github.com/PythonNuts/wtfpython/tree/development#lets-make-a-giant-string
πŸ’‘ Explanationhttps://github.com/PythonNuts/wtfpython/tree/development#-explanation-5
Yes, it exists!https://github.com/PythonNuts/wtfpython/tree/development#yes-it-exists
πŸ’‘ Explanation:https://github.com/PythonNuts/wtfpython/tree/development#-explanation-3
is is not what it is!https://github.com/PythonNuts/wtfpython/tree/development#is-is-not-what-it-is
πŸ’‘ Explanation:https://github.com/PythonNuts/wtfpython/tree/development#-explanation-4
is not ... is not is (not ...)https://github.com/PythonNuts/wtfpython/tree/development#is-not--is-not-is-not-
πŸ’‘ Explanationhttps://github.com/PythonNuts/wtfpython/tree/development#-explanation-6
The function inside loop sticks to the same outputhttps://github.com/PythonNuts/wtfpython/tree/development#the-function-inside-loop-sticks-to-the-same-output
πŸ’‘ Explanationhttps://github.com/PythonNuts/wtfpython/tree/development#-explanation-7
Loop variables leaking out of local scope!https://github.com/PythonNuts/wtfpython/tree/development#loop-variables-leaking-out-of-local-scope
πŸ’‘ Explanation:https://github.com/PythonNuts/wtfpython/tree/development#-explanation-5
A tic-tac-toe where X wins in the first attempt!https://github.com/PythonNuts/wtfpython/tree/development#a-tic-tac-toe-where-x-wins-in-the-first-attempt
πŸ’‘ Explanation:https://github.com/PythonNuts/wtfpython/tree/development#-explanation-6
Beware of default mutable arguments!https://github.com/PythonNuts/wtfpython/tree/development#beware-of-default-mutable-arguments
πŸ’‘ Explanation:https://github.com/PythonNuts/wtfpython/tree/development#-explanation-7
Same operands, different story!https://github.com/PythonNuts/wtfpython/tree/development#same-operands-different-story
πŸ’‘ Explanation:https://github.com/PythonNuts/wtfpython/tree/development#-explanation-8
Mutating the immutable!https://github.com/PythonNuts/wtfpython/tree/development#mutating-the-immutable
πŸ’‘ Explanation:https://github.com/PythonNuts/wtfpython/tree/development#-explanation-9
Using a variable not defined in scopehttps://github.com/PythonNuts/wtfpython/tree/development#using-a-variable-not-defined-in-scope
πŸ’‘ Explanation:https://github.com/PythonNuts/wtfpython/tree/development#-explanation-10
The disappearing variable from outer scopehttps://github.com/PythonNuts/wtfpython/tree/development#the-disappearing-variable-from-outer-scope
πŸ’‘ Explanation:https://github.com/PythonNuts/wtfpython/tree/development#-explanation-11
Return return everywhere!https://github.com/PythonNuts/wtfpython/tree/development#return-return-everywhere
πŸ’‘ Explanation:https://github.com/PythonNuts/wtfpython/tree/development#-explanation-12
When True is actually Falsehttps://github.com/PythonNuts/wtfpython/tree/development#when-true-is-actually-false
πŸ’‘ Explanation:https://github.com/PythonNuts/wtfpython/tree/development#-explanation-13
Be careful with chained operationshttps://github.com/PythonNuts/wtfpython/tree/development#be-careful-with-chained-operations
πŸ’‘ Explanation:https://github.com/PythonNuts/wtfpython/tree/development#-explanation-14
Name resolution ignoring class scopehttps://github.com/PythonNuts/wtfpython/tree/development#name-resolution-ignoring-class-scope
πŸ’‘ Explanationhttps://github.com/PythonNuts/wtfpython/tree/development#-explanation-8
From filled to None in one instruction...https://github.com/PythonNuts/wtfpython/tree/development#from-filled-to-none-in-one-instruction
πŸ’‘ Explanationhttps://github.com/PythonNuts/wtfpython/tree/development#-explanation-9
Explicit typecast of stringshttps://github.com/PythonNuts/wtfpython/tree/development#explicit-typecast-of-strings
πŸ’‘ Explanation:https://github.com/PythonNuts/wtfpython/tree/development#-explanation-15
Class attributes and instance attributeshttps://github.com/PythonNuts/wtfpython/tree/development#class-attributes-and-instance-attributes
πŸ’‘ Explanation:https://github.com/PythonNuts/wtfpython/tree/development#-explanation-16
Catching the Exceptions!https://github.com/PythonNuts/wtfpython/tree/development#catching-the-exceptions
πŸ’‘ Explanationhttps://github.com/PythonNuts/wtfpython/tree/development#-explanation-10
Midnight time doesn't exist?https://github.com/PythonNuts/wtfpython/tree/development#midnight-time-doesnt-exist
πŸ’‘ Explanation:https://github.com/PythonNuts/wtfpython/tree/development#-explanation-17
What's wrong with booleans?https://github.com/PythonNuts/wtfpython/tree/development#whats-wrong-with-booleans
πŸ’‘ Explanation:https://github.com/PythonNuts/wtfpython/tree/development#-explanation-18
Needle in a Haystackhttps://github.com/PythonNuts/wtfpython/tree/development#needle-in-a-haystack
πŸ’‘ Explanation:https://github.com/PythonNuts/wtfpython/tree/development#-explanation-19
yielding Nonehttps://github.com/PythonNuts/wtfpython/tree/development#yielding-none
πŸ’‘ Explanation:https://github.com/PythonNuts/wtfpython/tree/development#-explanation-20
The surprising commahttps://github.com/PythonNuts/wtfpython/tree/development#the-surprising-comma
πŸ’‘ Explanation:https://github.com/PythonNuts/wtfpython/tree/development#-explanation-21
For what?https://github.com/PythonNuts/wtfpython/tree/development#for-what
πŸ’‘ Explanation:https://github.com/PythonNuts/wtfpython/tree/development#-explanation-22
not knot!https://github.com/PythonNuts/wtfpython/tree/development#not-knot
πŸ’‘ Explanation:https://github.com/PythonNuts/wtfpython/tree/development#-explanation-23
Let's see if you can guess this?https://github.com/PythonNuts/wtfpython/tree/development#lets-see-if-you-can-guess-this
πŸ’‘ Explanation:https://github.com/PythonNuts/wtfpython/tree/development#-explanation-24
Minor Oneshttps://github.com/PythonNuts/wtfpython/tree/development#minor-ones
TODO: Hell of an example!https://github.com/PythonNuts/wtfpython/tree/development#todo-hell-of-an-example
Contributinghttps://github.com/PythonNuts/wtfpython/tree/development#contributing
Acknowledgementshttps://github.com/PythonNuts/wtfpython/tree/development#acknowledgements
Some nice Links!https://github.com/PythonNuts/wtfpython/tree/development#some-nice-links
πŸŽ“ Licensehttps://github.com/PythonNuts/wtfpython/tree/development#-license
https://github.com/PythonNuts/wtfpython/tree/development#structure-of-the-examples
https://github.com/PythonNuts/wtfpython/tree/development#some-fancy-title
https://github.com/PythonNuts/wtfpython/tree/development#-explanation
https://github.com/PythonNuts/wtfpython/tree/development#usage
herehttps://github.com/satwikkansal/wtfPython
https://github.com/PythonNuts/wtfpython/tree/development#-examples
https://github.com/PythonNuts/wtfpython/tree/development#skipping-lines
https://github.com/PythonNuts/wtfpython/tree/development#-explanation-1
code pointhttps://en.wikipedia.org/wiki/Code_point
https://github.com/PythonNuts/wtfpython/tree/development#well-something-is-fishy
mixed_tabs_and_spaces.pyhttps://github.com/PythonNuts/wtfpython/blob/development/mixed_tabs_and_spaces.py
https://github.com/PythonNuts/wtfpython/tree/development#-explanation-2
https://github.com/PythonNuts/wtfpython/tree/development#time-for-some-hash-brownies
https://github.com/PythonNuts/wtfpython/tree/development#-explanation-3
answerhttps://stackoverflow.com/a/32211042/4354153
https://github.com/PythonNuts/wtfpython/tree/development#evaluation-time-discrepancy
https://github.com/PythonNuts/wtfpython/tree/development#-explanation-4
generatorhttps://wiki.python.org/moin/Generators
https://github.com/PythonNuts/wtfpython/tree/development#modifying-a-dictionary-while-iterating-over-it
https://github.com/PythonNuts/wtfpython/tree/development#-explanation-5
threadhttps://stackoverflow.com/questions/44763802/bug-in-python-dict
https://github.com/PythonNuts/wtfpython/tree/development#deleting-a-list-item-while-iterating-over-it
https://github.com/PythonNuts/wtfpython/tree/development#-explanation-6
threadhttps://stackoverflow.com/questions/45946228/what-happens-when-you-try-to-delete-a-list-element-while-iterating-over-it
threadhttps://stackoverflow.com/questions/45877614/how-to-change-all-the-dictionary-keys-in-a-for-loop-with-d-items
https://github.com/PythonNuts/wtfpython/tree/development#backslashes-at-the-end-of-string
https://github.com/PythonNuts/wtfpython/tree/development#-explanation-7
https://github.com/PythonNuts/wtfpython/tree/development#string-interning
https://github.com/PythonNuts/wtfpython/tree/development#-explanation-8
herehttps://stackoverflow.com/questions/24245324/about-the-changing-id-of-an-immutable-string
https://github.com/PythonNuts/wtfpython/tree/development#lets-make-a-giant-string
https://github.com/PythonNuts/wtfpython/tree/development#-explanation-9
timeithttps://docs.python.org/3/library/timeit.html
https://github.com/PythonNuts/wtfpython/tree/development#yes-it-exists
https://github.com/PythonNuts/wtfpython/tree/development#-explanation-10
https://github.com/PythonNuts/wtfpython/tree/development#is-is-not-what-it-is
https://github.com/PythonNuts/wtfpython/tree/development#-explanation-11
https://docs.python.org/3/c-api/long.htmlhttps://docs.python.org/3/c-api/long.html
https://github.com/PythonNuts/wtfpython/tree/development#is-not--is-not-is-not-
https://github.com/PythonNuts/wtfpython/tree/development#-explanation-12
https://github.com/PythonNuts/wtfpython/tree/development#the-function-inside-loop-sticks-to-the-same-output
https://github.com/PythonNuts/wtfpython/tree/development#-explanation-13
https://github.com/PythonNuts/wtfpython/tree/development#loop-variables-leaking-out-of-local-scope
https://github.com/PythonNuts/wtfpython/tree/development#-explanation-14
What’s New In Python 3.0https://docs.python.org/3/whatsnew/3.0.html
https://github.com/PythonNuts/wtfpython/tree/development#a-tic-tac-toe-where-x-wins-in-the-first-attempt
https://github.com/PythonNuts/wtfpython/tree/development#-explanation-15
https://github.com/PythonNuts/wtfpython/blob/development/images/tic-tac-toe/after_row_initialized.png
https://github.com/PythonNuts/wtfpython/blob/development/images/tic-tac-toe/after_board_initialized.png
https://github.com/PythonNuts/wtfpython/tree/development#beware-of-default-mutable-arguments
https://github.com/PythonNuts/wtfpython/tree/development#-explanation-16
https://github.com/PythonNuts/wtfpython/tree/development#same-operands-different-story
https://github.com/PythonNuts/wtfpython/tree/development#-explanation-17
https://github.com/PythonNuts/wtfpython/tree/development#mutating-the-immutable
https://github.com/PythonNuts/wtfpython/tree/development#-explanation-18
https://docs.python.org/2/reference/datamodel.htmlhttps://docs.python.org/2/reference/datamodel.html
https://github.com/PythonNuts/wtfpython/tree/development#using-a-variable-not-defined-in-scope
https://github.com/PythonNuts/wtfpython/tree/development#-explanation-19
thishttp://sebastianraschka.com/Articles/2014_python_scope_and_namespaces.html
https://github.com/PythonNuts/wtfpython/tree/development#the-disappearing-variable-from-outer-scope
https://github.com/PythonNuts/wtfpython/tree/development#-explanation-20
https://docs.python.org/3/reference/compound_stmts.html#excepthttps://docs.python.org/3/reference/compound_stmts.html#except
https://github.com/PythonNuts/wtfpython/tree/development#return-return-everywhere
https://github.com/PythonNuts/wtfpython/tree/development#-explanation-21
https://github.com/PythonNuts/wtfpython/tree/development#when-true-is-actually-false
https://github.com/PythonNuts/wtfpython/tree/development#-explanation-22
https://github.com/PythonNuts/wtfpython/tree/development#be-careful-with-chained-operations
https://github.com/PythonNuts/wtfpython/tree/development#-explanation-23
https://docs.python.org/2/reference/expressions.html#not-inhttps://docs.python.org/2/reference/expressions.html#not-in
https://github.com/PythonNuts/wtfpython/tree/development#name-resolution-ignoring-class-scope
https://github.com/PythonNuts/wtfpython/tree/development#-explanation-24
https://github.com/PythonNuts/wtfpython/tree/development#from-filled-to-none-in-one-instruction
https://github.com/PythonNuts/wtfpython/tree/development#-explanation-25
herehttp://docs.python.org/2/faq/design.html#why-doesn-t-list-sort-return-the-sorted-list
https://github.com/PythonNuts/wtfpython/tree/development#explicit-typecast-of-strings
https://github.com/PythonNuts/wtfpython/tree/development#-explanation-26
https://github.com/PythonNuts/wtfpython/tree/development#class-attributes-and-instance-attributes
https://github.com/PythonNuts/wtfpython/tree/development#-explanation-27
https://github.com/PythonNuts/wtfpython/tree/development#catching-the-exceptions
https://github.com/PythonNuts/wtfpython/tree/development#-explanation-28
https://github.com/PythonNuts/wtfpython/tree/development#midnight-time-doesnt-exist
https://github.com/PythonNuts/wtfpython/tree/development#-explanation-29
https://github.com/PythonNuts/wtfpython/tree/development#whats-wrong-with-booleans
https://github.com/PythonNuts/wtfpython/tree/development#-explanation-30
answerhttps://stackoverflow.com/a/8169049/4354153
https://github.com/PythonNuts/wtfpython/tree/development#needle-in-a-haystack
https://github.com/PythonNuts/wtfpython/tree/development#-explanation-31
https://github.com/PythonNuts/wtfpython/tree/development#yielding-none
thishttps://github.com/satwikkansal/wtfpython/issues/32
https://github.com/PythonNuts/wtfpython/tree/development#-explanation-32
https://stackoverflow.com/questions/32139885/yield-in-list-comprehensions-and-generator-expressionshttps://stackoverflow.com/questions/32139885/yield-in-list-comprehensions-and-generator-expressions
http://bugs.python.org/issue10544http://bugs.python.org/issue10544
https://github.com/PythonNuts/wtfpython/tree/development#the-surprising-comma
thishttps://github.com/satwikkansal/wtfPython/issues/1
https://github.com/PythonNuts/wtfpython/tree/development#-explanation-33
fixed in Python 3.6https://bugs.python.org/issue9232
thishttps://bugs.python.org/issue9232#msg248399
https://github.com/PythonNuts/wtfpython/tree/development#for-what
thishttps://github.com/satwikkansal/wtfpython/issues/23
https://github.com/PythonNuts/wtfpython/tree/development#-explanation-34
Python grammarhttps://docs.python.org/3/reference/grammar.html
thishttps://github.com/satwikkansal/wtfPython/issues/11
https://github.com/PythonNuts/wtfpython/tree/development#not-knot
thishttps://github.com/satwikkansal/wtfPython/issues/1
https://github.com/PythonNuts/wtfpython/tree/development#-explanation-35
https://github.com/PythonNuts/wtfpython/tree/development#lets-see-if-you-can-guess-this
thishttps://github.com/satwikkansal/wtfPython/issues/9
https://github.com/PythonNuts/wtfpython/tree/development#-explanation-36
Python language referencehttps://docs.python.org/2/reference/simple_stmts.html#assignment-statements
https://github.com/PythonNuts/wtfpython/tree/development#minor-ones
sequenceshttps://docs.python.org/3/glossary.html#term-sequence
threadhttps://stackoverflow.com/questions/3654830/why-are-there-no-and-operators-in-python
thishttps://github.com/satwikkansal/wtfpython/issues/40
string literal concatenationhttps://docs.python.org/2/reference/lexical_analysis.html#string-literal-concatenation
Global Interpreter Lockhttps://wiki.python.org/moin/GlobalInterpreterLock
multiprocessinghttps://docs.python.org/2/library/multiprocessing.html
https://github.com/PythonNuts/wtfpython/tree/development#todo-hell-of-an-example
https://github.com/PythonNuts/wtfpython/tree/development#contributing
issuehttps://github.com/satwikkansal/wtfpython/issues/new
CONTRIBUTING.mdhttps://github.com/PythonNuts/wtfpython/blob/development/CONTRIBUTING.md
issuehttps://github.com/satwikkansal/wtfpython/issues/new
channelhttps://gitter.im/wtfpython/Lobby
https://github.com/PythonNuts/wtfpython/tree/development#acknowledgements
wtfjshttps://github.com/denysdovhan/wtfjs
https://github.com/PythonNuts/wtfpython/tree/development#some-nice-links
https://www.youtube.com/watch?v=sH4XF6pKKmkhttps://www.youtube.com/watch?v=sH4XF6pKKmk
https://www.reddit.com/r/Python/comments/3cu6ej/what_are_some_wtf_things_about_pythonhttps://www.reddit.com/r/Python/comments/3cu6ej/what_are_some_wtf_things_about_python
https://sopython.com/wiki/Common_Gotchas_In_Pythonhttps://sopython.com/wiki/Common_Gotchas_In_Python
https://stackoverflow.com/questions/530530/python-2-x-gotchas-and-landmineshttps://stackoverflow.com/questions/530530/python-2-x-gotchas-and-landmines
https://stackoverflow.com/questions/1011431/common-pitfalls-in-pythonhttps://stackoverflow.com/questions/1011431/common-pitfalls-in-python
https://github.com/PythonNuts/wtfpython/tree/development#-license
http://www.wtfpl.net
Satwik Kansalhttps://satwikkansal.xyz
https://github.com/PythonNuts/wtfpython/tree/development#donation
Readme https://github.com/PythonNuts/wtfpython/tree/development#readme-ov-file
WTFPL license https://github.com/PythonNuts/wtfpython/blob/master/LICENSE
Code of conduct https://github.com/PythonNuts/wtfpython/tree/development#coc-ov-file
Contributing https://github.com/PythonNuts/wtfpython/tree/development#contributing-ov-file
Please reload this pagehttps://github.com/PythonNuts/wtfpython/tree/development
Activityhttps://github.com/PythonNuts/wtfpython/activity
Custom propertieshttps://github.com/PythonNuts/wtfpython/custom-properties
0 starshttps://github.com/PythonNuts/wtfpython/stargazers
2 watchinghttps://github.com/PythonNuts/wtfpython/watchers
0 forkshttps://github.com/PythonNuts/wtfpython/forks
Report repository https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2FPythonNuts%2Fwtfpython&report=PythonNuts+%28user%29
Releaseshttps://github.com/PythonNuts/wtfpython/releases
1 tags https://github.com/PythonNuts/wtfpython/tags
Packages 0https://github.com/orgs/PythonNuts/packages?repo_name=wtfpython
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.