René's URL Explorer Experiment


Title: GitHub - psdfeng/python3-tips

Open Graph Title: GitHub - psdfeng/python3-tips

X Title: GitHub - psdfeng/python3-tips

Description: Contribute to psdfeng/python3-tips development by creating an account on GitHub.

Open Graph Description: Contribute to psdfeng/python3-tips development by creating an account on GitHub.

X Description: Contribute to psdfeng/python3-tips development by creating an account on GitHub.

Opengraph URL: https://github.com/psdfeng/python3-tips

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:dadde55e-5f8f-cf55-b0c9-1f3c5df31cd0
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-id9EEE:FC2BF:D0A0EE:1243CDD:696F6FD0
html-safe-nonce8de7e5c7d29ba8cbd84fde6f3970621c37844a7acd3e88de6e48328fd2447f00
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RUVFOkZDMkJGOkQwQTBFRToxMjQzQ0REOjY5NkY2RkQwIiwidmlzaXRvcl9pZCI6IjM2NDc0NDg2MDkzNjA2NzA2NzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3b86df54cabaa74a6ca1985c366f09a77aa99cec09e22db66dd84e5f2a4f7258
hovercard-subject-tagrepository:177739789
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location//
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/psdfeng/python3-tips
twitter:imagehttps://opengraph.githubassets.com/eab7c86b198e56d371b107cfadb71628e1861bb2daf4890aba92250533908d2e/psdfeng/python3-tips
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/eab7c86b198e56d371b107cfadb71628e1861bb2daf4890aba92250533908d2e/psdfeng/python3-tips
og:image:altContribute to psdfeng/python3-tips development by creating an account on GitHub.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneacc7f8c2e144976eeb6e7a73826049dd183bc572ccf5eaa9afb8265c617a97ab
turbo-cache-controlno-preview
go-importgithub.com/psdfeng/python3-tips git https://github.com/psdfeng/python3-tips.git
octolytics-dimension-user_id17870124
octolytics-dimension-user_loginpsdfeng
octolytics-dimension-repository_id177739789
octolytics-dimension-repository_nwopsdfeng/python3-tips
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id159978751
octolytics-dimension-repository_parent_nwoxiaopeng163/python3-tips
octolytics-dimension-repository_network_root_id159978751
octolytics-dimension-repository_network_root_nwoxiaopeng163/python3-tips
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
releasecc546a224d6d4726a8d7c3a0dfe0cf65dbf9b7bd
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/psdfeng/python3-tips#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpsdfeng%2Fpython3-tips
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%2Fpsdfeng%2Fpython3-tips
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&source=header-repo&source_repo=psdfeng%2Fpython3-tips
Reloadhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips
Reloadhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips
Reloadhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips
psdfeng https://patch-diff.githubusercontent.com/psdfeng
python3-tipshttps://patch-diff.githubusercontent.com/psdfeng/python3-tips
xiaopeng163/python3-tipshttps://patch-diff.githubusercontent.com/xiaopeng163/python3-tips
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fpsdfeng%2Fpython3-tips
Fork 0 https://patch-diff.githubusercontent.com/login?return_to=%2Fpsdfeng%2Fpython3-tips
Star 0 https://patch-diff.githubusercontent.com/login?return_to=%2Fpsdfeng%2Fpython3-tips
0 stars https://patch-diff.githubusercontent.com/psdfeng/python3-tips/stargazers
20 forks https://patch-diff.githubusercontent.com/psdfeng/python3-tips/forks
Branches https://patch-diff.githubusercontent.com/psdfeng/python3-tips/branches
Tags https://patch-diff.githubusercontent.com/psdfeng/python3-tips/tags
Activity https://patch-diff.githubusercontent.com/psdfeng/python3-tips/activity
Star https://patch-diff.githubusercontent.com/login?return_to=%2Fpsdfeng%2Fpython3-tips
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fpsdfeng%2Fpython3-tips
Code https://patch-diff.githubusercontent.com/psdfeng/python3-tips
Pull requests 0 https://patch-diff.githubusercontent.com/psdfeng/python3-tips/pulls
Actions https://patch-diff.githubusercontent.com/psdfeng/python3-tips/actions
Projects 0 https://patch-diff.githubusercontent.com/psdfeng/python3-tips/projects
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/psdfeng/python3-tips/security
Please reload this pagehttps://patch-diff.githubusercontent.com/psdfeng/python3-tips
Insights https://patch-diff.githubusercontent.com/psdfeng/python3-tips/pulse
Code https://patch-diff.githubusercontent.com/psdfeng/python3-tips
Pull requests https://patch-diff.githubusercontent.com/psdfeng/python3-tips/pulls
Actions https://patch-diff.githubusercontent.com/psdfeng/python3-tips/actions
Projects https://patch-diff.githubusercontent.com/psdfeng/python3-tips/projects
Security https://patch-diff.githubusercontent.com/psdfeng/python3-tips/security
Insights https://patch-diff.githubusercontent.com/psdfeng/python3-tips/pulse
Brancheshttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/branches
Tagshttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/tags
https://patch-diff.githubusercontent.com/psdfeng/python3-tips/branches
https://patch-diff.githubusercontent.com/psdfeng/python3-tips/tags
5 Commitshttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/commits/master/
https://patch-diff.githubusercontent.com/psdfeng/python3-tips/commits/master/
tip14https://patch-diff.githubusercontent.com/psdfeng/python3-tips/tree/master/tip14
tip14https://patch-diff.githubusercontent.com/psdfeng/python3-tips/tree/master/tip14
tip19https://patch-diff.githubusercontent.com/psdfeng/python3-tips/tree/master/tip19
tip19https://patch-diff.githubusercontent.com/psdfeng/python3-tips/tree/master/tip19
tip20https://patch-diff.githubusercontent.com/psdfeng/python3-tips/tree/master/tip20
tip20https://patch-diff.githubusercontent.com/psdfeng/python3-tips/tree/master/tip20
tip28https://patch-diff.githubusercontent.com/psdfeng/python3-tips/tree/master/tip28
tip28https://patch-diff.githubusercontent.com/psdfeng/python3-tips/tree/master/tip28
tip31https://patch-diff.githubusercontent.com/psdfeng/python3-tips/tree/master/tip31
tip31https://patch-diff.githubusercontent.com/psdfeng/python3-tips/tree/master/tip31
tip34https://patch-diff.githubusercontent.com/psdfeng/python3-tips/tree/master/tip34
tip34https://patch-diff.githubusercontent.com/psdfeng/python3-tips/tree/master/tip34
.gitignorehttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/.gitignore
.gitignorehttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/.gitignore
README.mdhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/README.md
README.mdhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/README.md
技巧1-如何正确的在判断语句里使用TRUE和FALSE.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A71-%E5%A6%82%E4%BD%95%E6%AD%A3%E7%A1%AE%E7%9A%84%E5%9C%A8%E5%88%A4%E6%96%AD%E8%AF%AD%E5%8F%A5%E9%87%8C%E4%BD%BF%E7%94%A8TRUE%E5%92%8CFALSE.ipynb
技巧1-如何正确的在判断语句里使用TRUE和FALSE.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A71-%E5%A6%82%E4%BD%95%E6%AD%A3%E7%A1%AE%E7%9A%84%E5%9C%A8%E5%88%A4%E6%96%AD%E8%AF%AD%E5%8F%A5%E9%87%8C%E4%BD%BF%E7%94%A8TRUE%E5%92%8CFALSE.ipynb
技巧10-关于for循环.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A710-%E5%85%B3%E4%BA%8Efor%E5%BE%AA%E7%8E%AF.ipynb
技巧10-关于for循环.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A710-%E5%85%B3%E4%BA%8Efor%E5%BE%AA%E7%8E%AF.ipynb
技巧11-为什么要使用yield.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A711-%E4%B8%BA%E4%BB%80%E4%B9%88%E8%A6%81%E4%BD%BF%E7%94%A8yield.ipynb
技巧11-为什么要使用yield.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A711-%E4%B8%BA%E4%BB%80%E4%B9%88%E8%A6%81%E4%BD%BF%E7%94%A8yield.ipynb
技巧12-在递归调用中使用yield.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A712-%E5%9C%A8%E9%80%92%E5%BD%92%E8%B0%83%E7%94%A8%E4%B8%AD%E4%BD%BF%E7%94%A8yield.ipynb
技巧12-在递归调用中使用yield.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A712-%E5%9C%A8%E9%80%92%E5%BD%92%E8%B0%83%E7%94%A8%E4%B8%AD%E4%BD%BF%E7%94%A8yield.ipynb
技巧13-巧用lambda.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A713-%E5%B7%A7%E7%94%A8lambda.ipynb
技巧13-巧用lambda.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A713-%E5%B7%A7%E7%94%A8lambda.ipynb
技巧15-通过默认参数增加函数灵活性.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A715-%E9%80%9A%E8%BF%87%E9%BB%98%E8%AE%A4%E5%8F%82%E6%95%B0%E5%A2%9E%E5%8A%A0%E5%87%BD%E6%95%B0%E7%81%B5%E6%B4%BB%E6%80%A7.ipynb
技巧15-通过默认参数增加函数灵活性.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A715-%E9%80%9A%E8%BF%87%E9%BB%98%E8%AE%A4%E5%8F%82%E6%95%B0%E5%A2%9E%E5%8A%A0%E5%87%BD%E6%95%B0%E7%81%B5%E6%B4%BB%E6%80%A7.ipynb
技巧16-可变数量参数*args.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A716-%E5%8F%AF%E5%8F%98%E6%95%B0%E9%87%8F%E5%8F%82%E6%95%B0*args.ipynb
技巧16-可变数量参数*args.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A716-%E5%8F%AF%E5%8F%98%E6%95%B0%E9%87%8F%E5%8F%82%E6%95%B0*args.ipynb
技巧17-字典和**kwargs的关系.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A717-%E5%AD%97%E5%85%B8%E5%92%8C**kwargs%E7%9A%84%E5%85%B3%E7%B3%BB.ipynb
技巧17-字典和**kwargs的关系.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A717-%E5%AD%97%E5%85%B8%E5%92%8C**kwargs%E7%9A%84%E5%85%B3%E7%B3%BB.ipynb
技巧18-默认参数的陷阱.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A718-%E9%BB%98%E8%AE%A4%E5%8F%82%E6%95%B0%E7%9A%84%E9%99%B7%E9%98%B1.ipynb
技巧18-默认参数的陷阱.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A718-%E9%BB%98%E8%AE%A4%E5%8F%82%E6%95%B0%E7%9A%84%E9%99%B7%E9%98%B1.ipynb
技巧2-正确使用返回值None.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A72-%E6%AD%A3%E7%A1%AE%E4%BD%BF%E7%94%A8%E8%BF%94%E5%9B%9E%E5%80%BCNone.ipynb
技巧2-正确使用返回值None.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A72-%E6%AD%A3%E7%A1%AE%E4%BD%BF%E7%94%A8%E8%BF%94%E5%9B%9E%E5%80%BCNone.ipynb
技巧21-正确使用类属性和实例属性.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A721-%E6%AD%A3%E7%A1%AE%E4%BD%BF%E7%94%A8%E7%B1%BB%E5%B1%9E%E6%80%A7%E5%92%8C%E5%AE%9E%E4%BE%8B%E5%B1%9E%E6%80%A7.ipynb
技巧21-正确使用类属性和实例属性.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A721-%E6%AD%A3%E7%A1%AE%E4%BD%BF%E7%94%A8%E7%B1%BB%E5%B1%9E%E6%80%A7%E5%92%8C%E5%AE%9E%E4%BE%8B%E5%B1%9E%E6%80%A7.ipynb
技巧22-类实例的受保护属性和私有属性.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A722-%E7%B1%BB%E5%AE%9E%E4%BE%8B%E7%9A%84%E5%8F%97%E4%BF%9D%E6%8A%A4%E5%B1%9E%E6%80%A7%E5%92%8C%E7%A7%81%E6%9C%89%E5%B1%9E%E6%80%A7.ipynb
技巧22-类实例的受保护属性和私有属性.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A722-%E7%B1%BB%E5%AE%9E%E4%BE%8B%E7%9A%84%E5%8F%97%E4%BF%9D%E6%8A%A4%E5%B1%9E%E6%80%A7%E5%92%8C%E7%A7%81%E6%9C%89%E5%B1%9E%E6%80%A7.ipynb
技巧23-使用类的property.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A723-%E4%BD%BF%E7%94%A8%E7%B1%BB%E7%9A%84property.ipynb
技巧23-使用类的property.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A723-%E4%BD%BF%E7%94%A8%E7%B1%BB%E7%9A%84property.ipynb
技巧24-使用元祖tuple的一些技巧.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A724-%E4%BD%BF%E7%94%A8%E5%85%83%E7%A5%96tuple%E7%9A%84%E4%B8%80%E4%BA%9B%E6%8A%80%E5%B7%A7.ipynb
技巧24-使用元祖tuple的一些技巧.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A724-%E4%BD%BF%E7%94%A8%E5%85%83%E7%A5%96tuple%E7%9A%84%E4%B8%80%E4%BA%9B%E6%8A%80%E5%B7%A7.ipynb
技巧25-一种非常好用的特殊元祖namedtuple.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A725-%E4%B8%80%E7%A7%8D%E9%9D%9E%E5%B8%B8%E5%A5%BD%E7%94%A8%E7%9A%84%E7%89%B9%E6%AE%8A%E5%85%83%E7%A5%96namedtuple.ipynb
技巧25-一种非常好用的特殊元祖namedtuple.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A725-%E4%B8%80%E7%A7%8D%E9%9D%9E%E5%B8%B8%E5%A5%BD%E7%94%A8%E7%9A%84%E7%89%B9%E6%AE%8A%E5%85%83%E7%A5%96namedtuple.ipynb
技巧26-关于dict和zip.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A726-%E5%85%B3%E4%BA%8Edict%E5%92%8Czip.ipynb
技巧26-关于dict和zip.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A726-%E5%85%B3%E4%BA%8Edict%E5%92%8Czip.ipynb
技巧27-字典按照key或value的大小排序.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A727-%E5%AD%97%E5%85%B8%E6%8C%89%E7%85%A7key%E6%88%96value%E7%9A%84%E5%A4%A7%E5%B0%8F%E6%8E%92%E5%BA%8F.ipynb
技巧27-字典按照key或value的大小排序.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A727-%E5%AD%97%E5%85%B8%E6%8C%89%E7%85%A7key%E6%88%96value%E7%9A%84%E5%A4%A7%E5%B0%8F%E6%8E%92%E5%BA%8F.ipynb
技巧29-关于string操作的两个小技巧.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A729-%E5%85%B3%E4%BA%8Estring%E6%93%8D%E4%BD%9C%E7%9A%84%E4%B8%A4%E4%B8%AA%E5%B0%8F%E6%8A%80%E5%B7%A7.ipynb
技巧29-关于string操作的两个小技巧.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A729-%E5%85%B3%E4%BA%8Estring%E6%93%8D%E4%BD%9C%E7%9A%84%E4%B8%A4%E4%B8%AA%E5%B0%8F%E6%8A%80%E5%B7%A7.ipynb
技巧3-if条件判断较多时的优化.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A73-if%E6%9D%A1%E4%BB%B6%E5%88%A4%E6%96%AD%E8%BE%83%E5%A4%9A%E6%97%B6%E7%9A%84%E4%BC%98%E5%8C%96.ipynb
技巧3-if条件判断较多时的优化.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A73-if%E6%9D%A1%E4%BB%B6%E5%88%A4%E6%96%AD%E8%BE%83%E5%A4%9A%E6%97%B6%E7%9A%84%E4%BC%98%E5%8C%96.ipynb
技巧30-用列表解析取代map和filter.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A730-%E7%94%A8%E5%88%97%E8%A1%A8%E8%A7%A3%E6%9E%90%E5%8F%96%E4%BB%A3map%E5%92%8Cfilter.ipynb
技巧30-用列表解析取代map和filter.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A730-%E7%94%A8%E5%88%97%E8%A1%A8%E8%A7%A3%E6%9E%90%E5%8F%96%E4%BB%A3map%E5%92%8Cfilter.ipynb
技巧32-一个单独的下划线可以怎么用.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A732-%E4%B8%80%E4%B8%AA%E5%8D%95%E7%8B%AC%E7%9A%84%E4%B8%8B%E5%88%92%E7%BA%BF%E5%8F%AF%E4%BB%A5%E6%80%8E%E4%B9%88%E7%94%A8.ipynb
技巧32-一个单独的下划线可以怎么用.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A732-%E4%B8%80%E4%B8%AA%E5%8D%95%E7%8B%AC%E7%9A%84%E4%B8%8B%E5%88%92%E7%BA%BF%E5%8F%AF%E4%BB%A5%E6%80%8E%E4%B9%88%E7%94%A8.ipynb
技巧33-__str__和__repr__有什么区别.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A733-__str__%E5%92%8C__repr__%E6%9C%89%E4%BB%80%E4%B9%88%E5%8C%BA%E5%88%AB.ipynb
技巧33-__str__和__repr__有什么区别.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A733-__str__%E5%92%8C__repr__%E6%9C%89%E4%BB%80%E4%B9%88%E5%8C%BA%E5%88%AB.ipynb
技巧36-改进的Namedtuples.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A736-%E6%94%B9%E8%BF%9B%E7%9A%84Namedtuples.ipynb
技巧36-改进的Namedtuples.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A736-%E6%94%B9%E8%BF%9B%E7%9A%84Namedtuples.ipynb
技巧37-到底该用哪种数据结构存储数据呢?.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A737-%E5%88%B0%E5%BA%95%E8%AF%A5%E7%94%A8%E5%93%AA%E7%A7%8D%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E5%AD%98%E5%82%A8%E6%95%B0%E6%8D%AE%E5%91%A2%EF%BC%9F.ipynb
技巧37-到底该用哪种数据结构存储数据呢?.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A737-%E5%88%B0%E5%BA%95%E8%AF%A5%E7%94%A8%E5%93%AA%E7%A7%8D%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E5%AD%98%E5%82%A8%E6%95%B0%E6%8D%AE%E5%91%A2%EF%BC%9F.ipynb
技巧4-字符串的格式化操作.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A74-%E5%AD%97%E7%AC%A6%E4%B8%B2%E7%9A%84%E6%A0%BC%E5%BC%8F%E5%8C%96%E6%93%8D%E4%BD%9C.ipynb
技巧4-字符串的格式化操作.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A74-%E5%AD%97%E7%AC%A6%E4%B8%B2%E7%9A%84%E6%A0%BC%E5%BC%8F%E5%8C%96%E6%93%8D%E4%BD%9C.ipynb
技巧5-Flat is better than nested.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A75-Flat%20is%20better%20than%20nested.ipynb
技巧5-Flat is better than nested.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A75-Flat%20is%20better%20than%20nested.ipynb
技巧6-列表解析.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A76-%E5%88%97%E8%A1%A8%E8%A7%A3%E6%9E%90.ipynb
技巧6-列表解析.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A76-%E5%88%97%E8%A1%A8%E8%A7%A3%E6%9E%90.ipynb
技巧7-字典解析.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A77-%E5%AD%97%E5%85%B8%E8%A7%A3%E6%9E%90.ipynb
技巧7-字典解析.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A77-%E5%AD%97%E5%85%B8%E8%A7%A3%E6%9E%90.ipynb
技巧8-字典合并.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A78-%E5%AD%97%E5%85%B8%E5%90%88%E5%B9%B6.ipynb
技巧8-字典合并.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A78-%E5%AD%97%E5%85%B8%E5%90%88%E5%B9%B6.ipynb
技巧9-如何安全的访问字典.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A79-%E5%A6%82%E4%BD%95%E5%AE%89%E5%85%A8%E7%9A%84%E8%AE%BF%E9%97%AE%E5%AD%97%E5%85%B8.ipynb
技巧9-如何安全的访问字典.ipynbhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/blob/master/%E6%8A%80%E5%B7%A79-%E5%A6%82%E4%BD%95%E5%AE%89%E5%85%A8%E7%9A%84%E8%AE%BF%E9%97%AE%E5%AD%97%E5%85%B8.ipynb
READMEhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips
https://patch-diff.githubusercontent.com/psdfeng/python3-tips#python3-tips
Readme https://patch-diff.githubusercontent.com/psdfeng/python3-tips#readme-ov-file
Please reload this pagehttps://patch-diff.githubusercontent.com/psdfeng/python3-tips
Activityhttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/activity
0 starshttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/stargazers
1 watchinghttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/watchers
0 forkshttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/forks
Report repository https://patch-diff.githubusercontent.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fpsdfeng%2Fpython3-tips&report=psdfeng+%28user%29
Releaseshttps://patch-diff.githubusercontent.com/psdfeng/python3-tips/releases
Packages 0https://patch-diff.githubusercontent.com/users/psdfeng/packages?repo_name=python3-tips
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.