| route-pattern | /:user_id/:repository |
| route-controller | files |
| route-action | disambiguate |
| fetch-nonce | v2:23821218-2736-8b35-8f28-df3fedfea0bc |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | D56A:2D7E6:FA0330:1566A22:696940A6 |
| html-safe-nonce | a447d7e4e10ca56277a71fab1d704be02d9e9f0e102acb4bd2aa25c2d7ab2fd0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTZBOjJEN0U2OkZBMDMzMDoxNTY2QTIyOjY5Njk0MEE2IiwidmlzaXRvcl9pZCI6IjQwMzExMzU5NjA4MTA0NzE1OTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c0575e25c247c4701bdb1baa357bbd8c9047172c3230f20225963df3be2d88fb |
| hovercard-subject-tag | repository:201008461 |
| github-keyboard-shortcuts | repository,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | // |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/hantmac/Python-Interview-Customs-Collection |
| twitter:image | https://opengraph.githubassets.com/c11db9f2d14c778bfb557c8a49563dfb47373d456f1026efe97a7853d250382d/hantmac/Python-Interview-Customs-Collection |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c11db9f2d14c778bfb557c8a49563dfb47373d456f1026efe97a7853d250382d/hantmac/Python-Interview-Customs-Collection |
| og:image:alt | Python面试通关宝典,秋招、春招的小伙伴✿✿ヽ(°▽°)ノ✿),有面Python开发方向的,看这一个repo就够啦😘 - hantmac/Python-Interview-Customs-Collection |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d |
| turbo-cache-control | no-preview |
| go-import | github.com/hantmac/Python-Interview-Customs-Collection git https://github.com/hantmac/Python-Interview-Customs-Collection.git |
| octolytics-dimension-user_id | 7600925 |
| octolytics-dimension-user_login | hantmac |
| octolytics-dimension-repository_id | 201008461 |
| octolytics-dimension-repository_nwo | hantmac/Python-Interview-Customs-Collection |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 201008461 |
| octolytics-dimension-repository_network_root_nwo | hantmac/Python-Interview-Customs-Collection |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d69ac0477df0f87da03b8b06cebd187012d7a930 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/hantmac/Python-Interview-Customs-Collection#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fhantmac%2FPython-Interview-Customs-Collection |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2Fhantmac%2FPython-Interview-Customs-Collection |
|
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&source=header-repo&source_repo=hantmac%2FPython-Interview-Customs-Collection |
| Reload | https://github.com/hantmac/Python-Interview-Customs-Collection |
| Reload | https://github.com/hantmac/Python-Interview-Customs-Collection |
| Reload | https://github.com/hantmac/Python-Interview-Customs-Collection |
|
hantmac
| https://github.com/hantmac |
| Python-Interview-Customs-Collection | https://github.com/hantmac/Python-Interview-Customs-Collection |
|
Notifications
| https://github.com/login?return_to=%2Fhantmac%2FPython-Interview-Customs-Collection |
|
Fork
83
| https://github.com/login?return_to=%2Fhantmac%2FPython-Interview-Customs-Collection |
|
Star
417
| https://github.com/login?return_to=%2Fhantmac%2FPython-Interview-Customs-Collection |
|
417
stars
| https://github.com/hantmac/Python-Interview-Customs-Collection/stargazers |
|
83
forks
| https://github.com/hantmac/Python-Interview-Customs-Collection/forks |
|
Branches
| https://github.com/hantmac/Python-Interview-Customs-Collection/branches |
|
Tags
| https://github.com/hantmac/Python-Interview-Customs-Collection/tags |
|
Activity
| https://github.com/hantmac/Python-Interview-Customs-Collection/activity |
|
Star
| https://github.com/login?return_to=%2Fhantmac%2FPython-Interview-Customs-Collection |
|
Notifications
| https://github.com/login?return_to=%2Fhantmac%2FPython-Interview-Customs-Collection |
|
Code
| https://github.com/hantmac/Python-Interview-Customs-Collection |
|
Issues
0
| https://github.com/hantmac/Python-Interview-Customs-Collection/issues |
|
Pull requests
0
| https://github.com/hantmac/Python-Interview-Customs-Collection/pulls |
|
Actions
| https://github.com/hantmac/Python-Interview-Customs-Collection/actions |
|
Projects
0
| https://github.com/hantmac/Python-Interview-Customs-Collection/projects |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/hantmac/Python-Interview-Customs-Collection/security |
| Please reload this page | https://github.com/hantmac/Python-Interview-Customs-Collection |
|
Insights
| https://github.com/hantmac/Python-Interview-Customs-Collection/pulse |
|
Code
| https://github.com/hantmac/Python-Interview-Customs-Collection |
|
Issues
| https://github.com/hantmac/Python-Interview-Customs-Collection/issues |
|
Pull requests
| https://github.com/hantmac/Python-Interview-Customs-Collection/pulls |
|
Actions
| https://github.com/hantmac/Python-Interview-Customs-Collection/actions |
|
Projects
| https://github.com/hantmac/Python-Interview-Customs-Collection/projects |
|
Security
| https://github.com/hantmac/Python-Interview-Customs-Collection/security |
|
Insights
| https://github.com/hantmac/Python-Interview-Customs-Collection/pulse |
| Branches | https://github.com/hantmac/Python-Interview-Customs-Collection/branches |
| Tags | https://github.com/hantmac/Python-Interview-Customs-Collection/tags |
| https://github.com/hantmac/Python-Interview-Customs-Collection/branches |
| https://github.com/hantmac/Python-Interview-Customs-Collection/tags |
| 31 Commits | https://github.com/hantmac/Python-Interview-Customs-Collection/commits/master/ |
| https://github.com/hantmac/Python-Interview-Customs-Collection/commits/master/ |
| README.md | https://github.com/hantmac/Python-Interview-Customs-Collection/blob/master/README.md |
| README.md | https://github.com/hantmac/Python-Interview-Customs-Collection/blob/master/README.md |
| README | https://github.com/hantmac/Python-Interview-Customs-Collection |
| https://github.com/hantmac/Python-Interview-Customs-Collection#python-面试通关宝典 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#table-of-contents |
| python-面试通关宝典 | https://github.com/hantmac/Python-Interview-Customs-Collection#python-%E9%9D%A2%E8%AF%95%E9%80%9A%E5%85%B3%E5%AE%9D%E5%85%B8 |
| 一.语言特性 | https://github.com/hantmac/Python-Interview-Customs-Collection#%E4%B8%80%E8%AF%AD%E8%A8%80%E7%89%B9%E6%80%A7 |
| 1.谈谈对 Python 和其他语言的区别? | https://github.com/hantmac/Python-Interview-Customs-Collection#1%E8%B0%88%E8%B0%88%E5%AF%B9-python-%E5%92%8C%E5%85%B6%E4%BB%96%E8%AF%AD%E8%A8%80%E7%9A%84%E5%8C%BA%E5%88%AB |
| 2.简述解释型和编译型编程语言? | https://github.com/hantmac/Python-Interview-Customs-Collection#2%E7%AE%80%E8%BF%B0%E8%A7%A3%E9%87%8A%E5%9E%8B%E5%92%8C%E7%BC%96%E8%AF%91%E5%9E%8B%E7%BC%96%E7%A8%8B%E8%AF%AD%E8%A8%80 |
| 3.Python 的解释器种类以及相关特点? | https://github.com/hantmac/Python-Interview-Customs-Collection#3python-%E7%9A%84%E8%A7%A3%E9%87%8A%E5%99%A8%E7%A7%8D%E7%B1%BB%E4%BB%A5%E5%8F%8A%E7%9B%B8%E5%85%B3%E7%89%B9%E7%82%B9 |
| 4.说说你知道的 Python3 和 Python2 之间的区别? | https://github.com/hantmac/Python-Interview-Customs-Collection#4%E8%AF%B4%E8%AF%B4%E4%BD%A0%E7%9F%A5%E9%81%93%E7%9A%84-python3-%E5%92%8C-python2-%E4%B9%8B%E9%97%B4%E7%9A%84%E5%8C%BA%E5%88%AB |
| 5.Python3 和 Python2 中 int 和 long 的区别? | https://github.com/hantmac/Python-Interview-Customs-Collection#5python3-%E5%92%8C-python2-%E4%B8%AD-int-%E5%92%8C-long-%E7%9A%84%E5%8C%BA%E5%88%AB |
| 6.xrange 和 range 的区别? | https://github.com/hantmac/Python-Interview-Customs-Collection#6xrange-%E5%92%8C-range-%E7%9A%84%E5%8C%BA%E5%88%AB |
| 二.编码规范 | https://github.com/hantmac/Python-Interview-Customs-Collection#%E4%BA%8C%E7%BC%96%E7%A0%81%E8%A7%84%E8%8C%83 |
| 7.什么是 PEP8? | https://github.com/hantmac/Python-Interview-Customs-Collection#7%E4%BB%80%E4%B9%88%E6%98%AF-pep8 |
| 8.了解 Python 之禅吗? | https://github.com/hantmac/Python-Interview-Customs-Collection#8%E4%BA%86%E8%A7%A3-python-%E4%B9%8B%E7%A6%85%E5%90%97 |
| 9.了解 docstring 吗? | https://github.com/hantmac/Python-Interview-Customs-Collection#9%E4%BA%86%E8%A7%A3-docstring-%E5%90%97 |
| 10.了解类型注解吗? | https://github.com/hantmac/Python-Interview-Customs-Collection#10%E4%BA%86%E8%A7%A3%E7%B1%BB%E5%9E%8B%E6%B3%A8%E8%A7%A3%E5%90%97 |
| 11.例举你知道 Python 对象的命名规范,例如方法或者类等。 | https://github.com/hantmac/Python-Interview-Customs-Collection#11%E4%BE%8B%E4%B8%BE%E4%BD%A0%E7%9F%A5%E9%81%93-python-%E5%AF%B9%E8%B1%A1%E7%9A%84%E5%91%BD%E5%90%8D%E8%A7%84%E8%8C%83%E4%BE%8B%E5%A6%82%E6%96%B9%E6%B3%95%E6%88%96%E8%80%85%E7%B1%BB%E7%AD%89 |
| 12.Python 中的注释有几种? | https://github.com/hantmac/Python-Interview-Customs-Collection#12python-%E4%B8%AD%E7%9A%84%E6%B3%A8%E9%87%8A%E6%9C%89%E5%87%A0%E7%A7%8D |
| 13.如何优雅的给一个函数加注释? | https://github.com/hantmac/Python-Interview-Customs-Collection#13%E5%A6%82%E4%BD%95%E4%BC%98%E9%9B%85%E7%9A%84%E7%BB%99%E4%B8%80%E4%B8%AA%E5%87%BD%E6%95%B0%E5%8A%A0%E6%B3%A8%E9%87%8A |
| 14.如何给变量加注释? | https://github.com/hantmac/Python-Interview-Customs-Collection#14%E5%A6%82%E4%BD%95%E7%BB%99%E5%8F%98%E9%87%8F%E5%8A%A0%E6%B3%A8%E9%87%8A |
| 15.Python 代码缩进中是否支持 Tab 键和 空格 混用? | https://github.com/hantmac/Python-Interview-Customs-Collection#15python-%E4%BB%A3%E7%A0%81%E7%BC%A9%E8%BF%9B%E4%B8%AD%E6%98%AF%E5%90%A6%E6%94%AF%E6%8C%81-tab-%E9%94%AE%E5%92%8C-%E7%A9%BA%E6%A0%BC-%E6%B7%B7%E7%94%A8 |
| 16.是否可以在一句 import 中导入多个库? | https://github.com/hantmac/Python-Interview-Customs-Collection#16%E6%98%AF%E5%90%A6%E5%8F%AF%E4%BB%A5%E5%9C%A8%E4%B8%80%E5%8F%A5-import-%E4%B8%AD%E5%AF%BC%E5%85%A5%E5%A4%9A%E4%B8%AA%E5%BA%93 |
| 17.在给 Python 文件命名的时候需要注意什么? | https://github.com/hantmac/Python-Interview-Customs-Collection#17%E5%9C%A8%E7%BB%99-python-%E6%96%87%E4%BB%B6%E5%91%BD%E5%90%8D%E7%9A%84%E6%97%B6%E5%80%99%E9%9C%80%E8%A6%81%E6%B3%A8%E6%84%8F%E4%BB%80%E4%B9%88 |
| 18.例举几个规范 Python 代码风格的工具。 | https://github.com/hantmac/Python-Interview-Customs-Collection#18%E4%BE%8B%E4%B8%BE%E5%87%A0%E4%B8%AA%E8%A7%84%E8%8C%83-python-%E4%BB%A3%E7%A0%81%E9%A3%8E%E6%A0%BC%E7%9A%84%E5%B7%A5%E5%85%B7 |
| 三.数据类型 | https://github.com/hantmac/Python-Interview-Customs-Collection#%E4%B8%89%E6%95%B0%E6%8D%AE%E7%B1%BB%E5%9E%8B |
| 字符串 | https://github.com/hantmac/Python-Interview-Customs-Collection#%E5%AD%97%E7%AC%A6%E4%B8%B2 |
| 19.列举 Python 中的基本数据类型。 | https://github.com/hantmac/Python-Interview-Customs-Collection#19%E5%88%97%E4%B8%BE-python-%E4%B8%AD%E7%9A%84%E5%9F%BA%E6%9C%AC%E6%95%B0%E6%8D%AE%E7%B1%BB%E5%9E%8B |
| 20.如何区别 可变数据类型 和 不可变数据类型? | https://github.com/hantmac/Python-Interview-Customs-Collection#20%E5%A6%82%E4%BD%95%E5%8C%BA%E5%88%AB-%E5%8F%AF%E5%8F%98%E6%95%B0%E6%8D%AE%E7%B1%BB%E5%9E%8B-%E5%92%8C-%E4%B8%8D%E5%8F%AF%E5%8F%98%E6%95%B0%E6%8D%AE%E7%B1%BB%E5%9E%8B |
| 21.将 "hello world" 转换为首字母大写 "Hello World"。 | https://github.com/hantmac/Python-Interview-Customs-Collection#21%E5%B0%86-hello-world-%E8%BD%AC%E6%8D%A2%E4%B8%BA%E9%A6%96%E5%AD%97%E6%AF%8D%E5%A4%A7%E5%86%99-hello-world |
| 22.如何检测字符串中只含有数字? | https://github.com/hantmac/Python-Interview-Customs-Collection#22%E5%A6%82%E4%BD%95%E6%A3%80%E6%B5%8B%E5%AD%97%E7%AC%A6%E4%B8%B2%E4%B8%AD%E5%8F%AA%E5%90%AB%E6%9C%89%E6%95%B0%E5%AD%97 |
| 23.将字符串 "ilovechina" 进行反转。 | https://github.com/hantmac/Python-Interview-Customs-Collection#23%E5%B0%86%E5%AD%97%E7%AC%A6%E4%B8%B2-ilovechina-%E8%BF%9B%E8%A1%8C%E5%8F%8D%E8%BD%AC |
| 24.Python 中的字符串格式化方式你知道哪些? | https://github.com/hantmac/Python-Interview-Customs-Collection#24python-%E4%B8%AD%E7%9A%84%E5%AD%97%E7%AC%A6%E4%B8%B2%E6%A0%BC%E5%BC%8F%E5%8C%96%E6%96%B9%E5%BC%8F%E4%BD%A0%E7%9F%A5%E9%81%93%E5%93%AA%E4%BA%9B |
| 25.有一个字符串开头和末尾都有空格,比如 " adabdw "。要求写一个函数把这个字符串的前后空格都去掉。 | https://github.com/hantmac/Python-Interview-Customs-Collection#25%E6%9C%89%E4%B8%80%E4%B8%AA%E5%AD%97%E7%AC%A6%E4%B8%B2%E5%BC%80%E5%A4%B4%E5%92%8C%E6%9C%AB%E5%B0%BE%E9%83%BD%E6%9C%89%E7%A9%BA%E6%A0%BC%E6%AF%94%E5%A6%82--adabdw-%E8%A6%81%E6%B1%82%E5%86%99%E4%B8%80%E4%B8%AA%E5%87%BD%E6%95%B0%E6%8A%8A%E8%BF%99%E4%B8%AA%E5%AD%97%E7%AC%A6%E4%B8%B2%E7%9A%84%E5%89%8D%E5%90%8E%E7%A9%BA%E6%A0%BC%E9%83%BD%E5%8E%BB%E6%8E%89 |
| 26.获取字符串 "123456" 最后的两个字符。 | https://github.com/hantmac/Python-Interview-Customs-Collection#26%E8%8E%B7%E5%8F%96%E5%AD%97%E7%AC%A6%E4%B8%B2-123456-%E6%9C%80%E5%90%8E%E7%9A%84%E4%B8%A4%E4%B8%AA%E5%AD%97%E7%AC%A6 |
| 27.一个编码为 GBK 的字符串 S,要将其转成 UTF-8 编码的字符串,应如何操作? | https://github.com/hantmac/Python-Interview-Customs-Collection#27%E4%B8%80%E4%B8%AA%E7%BC%96%E7%A0%81%E4%B8%BA-gbk-%E7%9A%84%E5%AD%97%E7%AC%A6%E4%B8%B2-s%E8%A6%81%E5%B0%86%E5%85%B6%E8%BD%AC%E6%88%90-utf-8-%E7%BC%96%E7%A0%81%E7%9A%84%E5%AD%97%E7%AC%A6%E4%B8%B2%E5%BA%94%E5%A6%82%E4%BD%95%E6%93%8D%E4%BD%9C |
| 28.字符串 s = "info:xiaoZhang 33 shandong",用正则切分字符串输出 ['info', 'xiaoZhang', '33', 'shandong']。 | https://github.com/hantmac/Python-Interview-Customs-Collection#28%E5%AD%97%E7%AC%A6%E4%B8%B2-s--infoxiaozhang-33-shandong%E7%94%A8%E6%AD%A3%E5%88%99%E5%88%87%E5%88%86%E5%AD%97%E7%AC%A6%E4%B8%B2%E8%BE%93%E5%87%BA-info-xiaozhang-33-shandong |
| 29.怎样将字符串转换为小写? | https://github.com/hantmac/Python-Interview-Customs-Collection#29%E6%80%8E%E6%A0%B7%E5%B0%86%E5%AD%97%E7%AC%A6%E4%B8%B2%E8%BD%AC%E6%8D%A2%E4%B8%BA%E5%B0%8F%E5%86%99 |
| 30.单引号、双引号和三引号的区别? | https://github.com/hantmac/Python-Interview-Customs-Collection#30%E5%8D%95%E5%BC%95%E5%8F%B7%E5%8F%8C%E5%BC%95%E5%8F%B7%E5%92%8C%E4%B8%89%E5%BC%95%E5%8F%B7%E7%9A%84%E5%8C%BA%E5%88%AB |
| 31.字符串 a = "你好 中国 ",去除多余空格只留一个空格。 | https://github.com/hantmac/Python-Interview-Customs-Collection#31%E5%AD%97%E7%AC%A6%E4%B8%B2-a--%E4%BD%A0%E5%A5%BD-----%E4%B8%AD%E5%9B%BD--%E5%8E%BB%E9%99%A4%E5%A4%9A%E4%BD%99%E7%A9%BA%E6%A0%BC%E5%8F%AA%E7%95%99%E4%B8%80%E4%B8%AA%E7%A9%BA%E6%A0%BC |
| 列表 | https://github.com/hantmac/Python-Interview-Customs-Collection#%E5%88%97%E8%A1%A8 |
| 32.已知 AList = [1,2,3,1,2],对 AList 列表元素去重,写出具体过程。 | https://github.com/hantmac/Python-Interview-Customs-Collection#32%E5%B7%B2%E7%9F%A5-alist--12312%E5%AF%B9-alist-%E5%88%97%E8%A1%A8%E5%85%83%E7%B4%A0%E5%8E%BB%E9%87%8D%E5%86%99%E5%87%BA%E5%85%B7%E4%BD%93%E8%BF%87%E7%A8%8B |
| 33.如何将 "1,2,3" 变成 ["1","2","3"]? | https://github.com/hantmac/Python-Interview-Customs-Collection#33%E5%A6%82%E4%BD%95%E5%B0%86-123-%E5%8F%98%E6%88%90-123 |
| 34.给定两个 list,A 和 B,找出相同元素和不同元素。 | https://github.com/hantmac/Python-Interview-Customs-Collection#34%E7%BB%99%E5%AE%9A%E4%B8%A4%E4%B8%AA-lista-%E5%92%8C-b%E6%89%BE%E5%87%BA%E7%9B%B8%E5%90%8C%E5%85%83%E7%B4%A0%E5%92%8C%E4%B8%8D%E5%90%8C%E5%85%83%E7%B4%A0 |
| 35.用一行代码展开该列表 [[1,2],[3,4],[5,6]],得出[1,2,3,4,5,6]。 | https://github.com/hantmac/Python-Interview-Customs-Collection#35%E7%94%A8%E4%B8%80%E8%A1%8C%E4%BB%A3%E7%A0%81%E5%B1%95%E5%BC%80%E8%AF%A5%E5%88%97%E8%A1%A8-123456%E5%BE%97%E5%87%BA123456 |
| 36.合并列表 [1,5,7,9] 和 [2,2,6,8]。 | https://github.com/hantmac/Python-Interview-Customs-Collection#36%E5%90%88%E5%B9%B6%E5%88%97%E8%A1%A8-1579-%E5%92%8C-2268 |
| 37.如何打乱一个列表的元素? | https://github.com/hantmac/Python-Interview-Customs-Collection#37%E5%A6%82%E4%BD%95%E6%89%93%E4%B9%B1%E4%B8%80%E4%B8%AA%E5%88%97%E8%A1%A8%E7%9A%84%E5%85%83%E7%B4%A0 |
| 字典 | https://github.com/hantmac/Python-Interview-Customs-Collection#%E5%AD%97%E5%85%B8 |
| 38.字典操作中 del 和 pop 有什么区别? | https://github.com/hantmac/Python-Interview-Customs-Collection#38%E5%AD%97%E5%85%B8%E6%93%8D%E4%BD%9C%E4%B8%AD-del-%E5%92%8C-pop-%E6%9C%89%E4%BB%80%E4%B9%88%E5%8C%BA%E5%88%AB |
| 39.将如下字典按照年龄排序。 | https://github.com/hantmac/Python-Interview-Customs-Collection#39%E5%B0%86%E5%A6%82%E4%B8%8B%E5%AD%97%E5%85%B8%E6%8C%89%E7%85%A7%E5%B9%B4%E9%BE%84%E6%8E%92%E5%BA%8F |
| 40.请合并下面两个字典 a = {"A":1,"B":2},b = {"C":3,"D":4}。 | https://github.com/hantmac/Python-Interview-Customs-Collection#40%E8%AF%B7%E5%90%88%E5%B9%B6%E4%B8%8B%E9%9D%A2%E4%B8%A4%E4%B8%AA%E5%AD%97%E5%85%B8-a--a1b2b--c3d4 |
| 41.如何使用生成式的方式生成一个字典,写一段功能代码。 | https://github.com/hantmac/Python-Interview-Customs-Collection#41%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8%E7%94%9F%E6%88%90%E5%BC%8F%E7%9A%84%E6%96%B9%E5%BC%8F%E7%94%9F%E6%88%90%E4%B8%80%E4%B8%AA%E5%AD%97%E5%85%B8%E5%86%99%E4%B8%80%E6%AE%B5%E5%8A%9F%E8%83%BD%E4%BB%A3%E7%A0%81 |
| 42.如何把 元组 ("a","b") 和 元组(1,2),变为字典{"a":1,"b":2}? | https://github.com/hantmac/Python-Interview-Customs-Collection#42%E5%A6%82%E4%BD%95%E6%8A%8A-%E5%85%83%E7%BB%84-ab-%E5%92%8C-%E5%85%83%E7%BB%8412%E5%8F%98%E4%B8%BA%E5%AD%97%E5%85%B8a1b2 |
| 综合数据类型 | https://github.com/hantmac/Python-Interview-Customs-Collection#%E7%BB%BC%E5%90%88%E6%95%B0%E6%8D%AE%E7%B1%BB%E5%9E%8B |
| 43.Python 常用的数据结构的类型及其特性? | https://github.com/hantmac/Python-Interview-Customs-Collection#43python-%E5%B8%B8%E7%94%A8%E7%9A%84%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E7%9A%84%E7%B1%BB%E5%9E%8B%E5%8F%8A%E5%85%B6%E7%89%B9%E6%80%A7 |
| 44.如何将 元组("A","B") 和 元组(1,2) 合并成 字典{"A":1,"B":2}? | https://github.com/hantmac/Python-Interview-Customs-Collection#44%E5%A6%82%E4%BD%95%E5%B0%86-%E5%85%83%E7%BB%84ab-%E5%92%8C-%E5%85%83%E7%BB%8412-%E5%90%88%E5%B9%B6%E6%88%90-%E5%AD%97%E5%85%B8a1b2 |
| 45.Python 里面如何实现 tuple 和 list 的转换? | https://github.com/hantmac/Python-Interview-Customs-Collection#45python-%E9%87%8C%E9%9D%A2%E5%A6%82%E4%BD%95%E5%AE%9E%E7%8E%B0-tuple-%E5%92%8C-list-%E7%9A%84%E8%BD%AC%E6%8D%A2 |
| 46.我们知道对于列表可以使用切片操作进行部分元素的选择,那么如何对生成器类型的对象实现相同的功能呢? | https://github.com/hantmac/Python-Interview-Customs-Collection#46%E6%88%91%E4%BB%AC%E7%9F%A5%E9%81%93%E5%AF%B9%E4%BA%8E%E5%88%97%E8%A1%A8%E5%8F%AF%E4%BB%A5%E4%BD%BF%E7%94%A8%E5%88%87%E7%89%87%E6%93%8D%E4%BD%9C%E8%BF%9B%E8%A1%8C%E9%83%A8%E5%88%86%E5%85%83%E7%B4%A0%E7%9A%84%E9%80%89%E6%8B%A9%E9%82%A3%E4%B9%88%E5%A6%82%E4%BD%95%E5%AF%B9%E7%94%9F%E6%88%90%E5%99%A8%E7%B1%BB%E5%9E%8B%E7%9A%84%E5%AF%B9%E8%B1%A1%E5%AE%9E%E7%8E%B0%E7%9B%B8%E5%90%8C%E7%9A%84%E5%8A%9F%E8%83%BD%E5%91%A2 |
| 47.请将 [i for i in range(3)] 改成 生成器。 | https://github.com/hantmac/Python-Interview-Customs-Collection#47%E8%AF%B7%E5%B0%86-i-for-i-in-range3-%E6%94%B9%E6%88%90-%E7%94%9F%E6%88%90%E5%99%A8 |
| 48.将 a="hello" 和 b="你好" 编码成 bytes 类型。 | https://github.com/hantmac/Python-Interview-Customs-Collection#48%E5%B0%86-ahello-%E5%92%8C-b%E4%BD%A0%E5%A5%BD-%E7%BC%96%E7%A0%81%E6%88%90-bytes-%E7%B1%BB%E5%9E%8B |
| 49.下面的代码输出结果是什么? | https://github.com/hantmac/Python-Interview-Customs-Collection#49%E4%B8%8B%E9%9D%A2%E7%9A%84%E4%BB%A3%E7%A0%81%E8%BE%93%E5%87%BA%E7%BB%93%E6%9E%9C%E6%98%AF%E4%BB%80%E4%B9%88 |
| 50.下面的代码输出的结果是什么? | https://github.com/hantmac/Python-Interview-Customs-Collection#50%E4%B8%8B%E9%9D%A2%E7%9A%84%E4%BB%A3%E7%A0%81%E8%BE%93%E5%87%BA%E7%9A%84%E7%BB%93%E6%9E%9C%E6%98%AF%E4%BB%80%E4%B9%88 |
| 操作类题目 | https://github.com/hantmac/Python-Interview-Customs-Collection#%E6%93%8D%E4%BD%9C%E7%B1%BB%E9%A2%98%E7%9B%AE |
| 51.在 Python 中交换两个变量的值。 | https://github.com/hantmac/Python-Interview-Customs-Collection#51%E5%9C%A8-python-%E4%B8%AD%E4%BA%A4%E6%8D%A2%E4%B8%A4%E4%B8%AA%E5%8F%98%E9%87%8F%E7%9A%84%E5%80%BC |
| 52.在读文件操作的时候会使用 read、readline 或者 readlines,简述它们各自的作用。 | https://github.com/hantmac/Python-Interview-Customs-Collection#52%E5%9C%A8%E8%AF%BB%E6%96%87%E4%BB%B6%E6%93%8D%E4%BD%9C%E7%9A%84%E6%97%B6%E5%80%99%E4%BC%9A%E4%BD%BF%E7%94%A8-readreadline-%E6%88%96%E8%80%85-readlines%E7%AE%80%E8%BF%B0%E5%AE%83%E4%BB%AC%E5%90%84%E8%87%AA%E7%9A%84%E4%BD%9C%E7%94%A8 |
| 53.json 序列化时,可以处理的数据类型有哪些?如何定制支持 datetime 类型? | https://github.com/hantmac/Python-Interview-Customs-Collection#53json-%E5%BA%8F%E5%88%97%E5%8C%96%E6%97%B6%E5%8F%AF%E4%BB%A5%E5%A4%84%E7%90%86%E7%9A%84%E6%95%B0%E6%8D%AE%E7%B1%BB%E5%9E%8B%E6%9C%89%E5%93%AA%E4%BA%9B%E5%A6%82%E4%BD%95%E5%AE%9A%E5%88%B6%E6%94%AF%E6%8C%81-datetime-%E7%B1%BB%E5%9E%8B |
| 54.json 序列化时,默认遇到中文会转换成 unicode,如果想要保留中文怎么办? | https://github.com/hantmac/Python-Interview-Customs-Collection#54json-%E5%BA%8F%E5%88%97%E5%8C%96%E6%97%B6%E9%BB%98%E8%AE%A4%E9%81%87%E5%88%B0%E4%B8%AD%E6%96%87%E4%BC%9A%E8%BD%AC%E6%8D%A2%E6%88%90-unicode%E5%A6%82%E6%9E%9C%E6%83%B3%E8%A6%81%E4%BF%9D%E7%95%99%E4%B8%AD%E6%96%87%E6%80%8E%E4%B9%88%E5%8A%9E |
| 55.有两个磁盘文件 A 和 B,各存放一行字母,要求把这两个文件中的信息合并(按字母顺序排列),输出到一个新文件 C 中。 | https://github.com/hantmac/Python-Interview-Customs-Collection#55%E6%9C%89%E4%B8%A4%E4%B8%AA%E7%A3%81%E7%9B%98%E6%96%87%E4%BB%B6-a-%E5%92%8C-b%E5%90%84%E5%AD%98%E6%94%BE%E4%B8%80%E8%A1%8C%E5%AD%97%E6%AF%8D%E8%A6%81%E6%B1%82%E6%8A%8A%E8%BF%99%E4%B8%A4%E4%B8%AA%E6%96%87%E4%BB%B6%E4%B8%AD%E7%9A%84%E4%BF%A1%E6%81%AF%E5%90%88%E5%B9%B6%E6%8C%89%E5%AD%97%E6%AF%8D%E9%A1%BA%E5%BA%8F%E6%8E%92%E5%88%97%E8%BE%93%E5%87%BA%E5%88%B0%E4%B8%80%E4%B8%AA%E6%96%B0%E6%96%87%E4%BB%B6-c-%E4%B8%AD |
| 56.如果当前的日期为 20190530,要求写一个函数输出 N 天后的日期(比如 N 为 2,则输出 20190601)。 | https://github.com/hantmac/Python-Interview-Customs-Collection#56%E5%A6%82%E6%9E%9C%E5%BD%93%E5%89%8D%E7%9A%84%E6%97%A5%E6%9C%9F%E4%B8%BA-20190530%E8%A6%81%E6%B1%82%E5%86%99%E4%B8%80%E4%B8%AA%E5%87%BD%E6%95%B0%E8%BE%93%E5%87%BA-n-%E5%A4%A9%E5%90%8E%E7%9A%84%E6%97%A5%E6%9C%9F%E6%AF%94%E5%A6%82-n-%E4%B8%BA-2%E5%88%99%E8%BE%93%E5%87%BA-20190601 |
| 57.写一个函数,接收整数参数 n,返回一个函数。函数的功能是把函数的参数和 n 相乘并把结果返回。 | https://github.com/hantmac/Python-Interview-Customs-Collection#57%E5%86%99%E4%B8%80%E4%B8%AA%E5%87%BD%E6%95%B0%E6%8E%A5%E6%94%B6%E6%95%B4%E6%95%B0%E5%8F%82%E6%95%B0-n%E8%BF%94%E5%9B%9E%E4%B8%80%E4%B8%AA%E5%87%BD%E6%95%B0%E5%87%BD%E6%95%B0%E7%9A%84%E5%8A%9F%E8%83%BD%E6%98%AF%E6%8A%8A%E5%87%BD%E6%95%B0%E7%9A%84%E5%8F%82%E6%95%B0%E5%92%8C-n-%E7%9B%B8%E4%B9%98%E5%B9%B6%E6%8A%8A%E7%BB%93%E6%9E%9C%E8%BF%94%E5%9B%9E |
| 58.下面的代码会存在什么问题,如何改进? | https://github.com/hantmac/Python-Interview-Customs-Collection#58%E4%B8%8B%E9%9D%A2%E7%9A%84%E4%BB%A3%E7%A0%81%E4%BC%9A%E5%AD%98%E5%9C%A8%E4%BB%80%E4%B9%88%E9%97%AE%E9%A2%98%E5%A6%82%E4%BD%95%E6%94%B9%E8%BF%9B |
| 59.一行代码输出 1-100 之间的所有偶数。 | https://github.com/hantmac/Python-Interview-Customs-Collection#59%E4%B8%80%E8%A1%8C%E4%BB%A3%E7%A0%81%E8%BE%93%E5%87%BA-1-100-%E4%B9%8B%E9%97%B4%E7%9A%84%E6%89%80%E6%9C%89%E5%81%B6%E6%95%B0 |
| 60.with 语句的作用,并用它写一段代码。 | https://github.com/hantmac/Python-Interview-Customs-Collection#60with-%E8%AF%AD%E5%8F%A5%E7%9A%84%E4%BD%9C%E7%94%A8%E5%B9%B6%E7%94%A8%E5%AE%83%E5%86%99%E4%B8%80%E6%AE%B5%E4%BB%A3%E7%A0%81 |
| 61.Python 字典和 json 字符串相互转化方法。 | https://github.com/hantmac/Python-Interview-Customs-Collection#61python-%E5%AD%97%E5%85%B8%E5%92%8C-json-%E5%AD%97%E7%AC%A6%E4%B8%B2%E7%9B%B8%E4%BA%92%E8%BD%AC%E5%8C%96%E6%96%B9%E6%B3%95 |
| 62.请写一个 Python 逻辑,计算一个文件中的大写字母数量。 | https://github.com/hantmac/Python-Interview-Customs-Collection#62%E8%AF%B7%E5%86%99%E4%B8%80%E4%B8%AA-python-%E9%80%BB%E8%BE%91%E8%AE%A1%E7%AE%97%E4%B8%80%E4%B8%AA%E6%96%87%E4%BB%B6%E4%B8%AD%E7%9A%84%E5%A4%A7%E5%86%99%E5%AD%97%E6%AF%8D%E6%95%B0%E9%87%8F |
| 高级特性 | https://github.com/hantmac/Python-Interview-Customs-Collection#%E9%AB%98%E7%BA%A7%E7%89%B9%E6%80%A7 |
| 63.函数装饰器有什么作用?请列举说明。 | https://github.com/hantmac/Python-Interview-Customs-Collection#63%E5%87%BD%E6%95%B0%E8%A3%85%E9%A5%B0%E5%99%A8%E6%9C%89%E4%BB%80%E4%B9%88%E4%BD%9C%E7%94%A8%E8%AF%B7%E5%88%97%E4%B8%BE%E8%AF%B4%E6%98%8E |
| 64.简述 Python 垃圾回收机制。 | https://github.com/hantmac/Python-Interview-Customs-Collection#64%E7%AE%80%E8%BF%B0-python-%E5%9E%83%E5%9C%BE%E5%9B%9E%E6%94%B6%E6%9C%BA%E5%88%B6 |
| 65.魔法函数 __call__怎么使用? | https://github.com/hantmac/Python-Interview-Customs-Collection#65%E9%AD%94%E6%B3%95%E5%87%BD%E6%95%B0-__call__%E6%80%8E%E4%B9%88%E4%BD%BF%E7%94%A8 |
| 66.如何判断一个对象是函数还是方法? | https://github.com/hantmac/Python-Interview-Customs-Collection#66%E5%A6%82%E4%BD%95%E5%88%A4%E6%96%AD%E4%B8%80%E4%B8%AA%E5%AF%B9%E8%B1%A1%E6%98%AF%E5%87%BD%E6%95%B0%E8%BF%98%E6%98%AF%E6%96%B9%E6%B3%95 |
| 67.简述 @classmethod 和 @staticmethod 用法和区别。 | https://github.com/hantmac/Python-Interview-Customs-Collection#67%E7%AE%80%E8%BF%B0-classmethod-%E5%92%8C-staticmethod-%E7%94%A8%E6%B3%95%E5%92%8C%E5%8C%BA%E5%88%AB |
| 68.Python 中的接口如何实现? | https://github.com/hantmac/Python-Interview-Customs-Collection#68python-%E4%B8%AD%E7%9A%84%E6%8E%A5%E5%8F%A3%E5%A6%82%E4%BD%95%E5%AE%9E%E7%8E%B0 |
| 69.你了解 Python 中的反射吗? | https://github.com/hantmac/Python-Interview-Customs-Collection#69%E4%BD%A0%E4%BA%86%E8%A7%A3-python-%E4%B8%AD%E7%9A%84%E5%8F%8D%E5%B0%84%E5%90%97 |
| 70.简述 metaclass 的作用和其应用场景。 | https://github.com/hantmac/Python-Interview-Customs-Collection#70%E7%AE%80%E8%BF%B0-metaclass-%E7%9A%84%E4%BD%9C%E7%94%A8%E5%92%8C%E5%85%B6%E5%BA%94%E7%94%A8%E5%9C%BA%E6%99%AF |
| 71.对比 hasattr(),getattr() 和 setattr() 的用法。 | https://github.com/hantmac/Python-Interview-Customs-Collection#71%E5%AF%B9%E6%AF%94-hasattrgetattr-%E5%92%8C-setattr-%E7%9A%84%E7%94%A8%E6%B3%95 |
| 72.请列举你知道的 Python 的魔法方法及用途。 | https://github.com/hantmac/Python-Interview-Customs-Collection#72%E8%AF%B7%E5%88%97%E4%B8%BE%E4%BD%A0%E7%9F%A5%E9%81%93%E7%9A%84-python-%E7%9A%84%E9%AD%94%E6%B3%95%E6%96%B9%E6%B3%95%E5%8F%8A%E7%94%A8%E9%80%94 |
| 73.如何知道一个 Python 对象的类型? | https://github.com/hantmac/Python-Interview-Customs-Collection#73%E5%A6%82%E4%BD%95%E7%9F%A5%E9%81%93%E4%B8%80%E4%B8%AA-python-%E5%AF%B9%E8%B1%A1%E7%9A%84%E7%B1%BB%E5%9E%8B |
| 74.Python 中的 元类(metaclass) 使用举例。 | https://github.com/hantmac/Python-Interview-Customs-Collection#74python-%E4%B8%AD%E7%9A%84-%E5%85%83%E7%B1%BBmetaclass-%E4%BD%BF%E7%94%A8%E4%B8%BE%E4%BE%8B |
| 75.简述 any() 和 all() 方法。 | https://github.com/hantmac/Python-Interview-Customs-Collection#75%E7%AE%80%E8%BF%B0-any-%E5%92%8C-all-%E6%96%B9%E6%B3%95 |
| 76.用 filter 方法求出列表 a = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] 中的所有奇数,并构造新列表。 | https://github.com/hantmac/Python-Interview-Customs-Collection#76%E7%94%A8-filter-%E6%96%B9%E6%B3%95%E6%B1%82%E5%87%BA%E5%88%97%E8%A1%A8-a---1-2-3-4-5-6-7-8-9-10-%E4%B8%AD%E7%9A%84%E6%89%80%E6%9C%89%E5%A5%87%E6%95%B0%E5%B9%B6%E6%9E%84%E9%80%A0%E6%96%B0%E5%88%97%E8%A1%A8 |
| 77.什么是猴子补丁? | https://github.com/hantmac/Python-Interview-Customs-Collection#77%E4%BB%80%E4%B9%88%E6%98%AF%E7%8C%B4%E5%AD%90%E8%A1%A5%E4%B8%81 |
| 78.在 Python 中是如何管理内存的? | https://github.com/hantmac/Python-Interview-Customs-Collection#78%E5%9C%A8-python-%E4%B8%AD%E6%98%AF%E5%A6%82%E4%BD%95%E7%AE%A1%E7%90%86%E5%86%85%E5%AD%98%E7%9A%84 |
| 79.当退出 Python 时是否释放所有内存分配? | https://github.com/hantmac/Python-Interview-Customs-Collection#79%E5%BD%93%E9%80%80%E5%87%BA-python-%E6%97%B6%E6%98%AF%E5%90%A6%E9%87%8A%E6%94%BE%E6%89%80%E6%9C%89%E5%86%85%E5%AD%98%E5%88%86%E9%85%8D |
| 正则表达式 | https://github.com/hantmac/Python-Interview-Customs-Collection#%E6%AD%A3%E5%88%99%E8%A1%A8%E8%BE%BE%E5%BC%8F |
80.使用正则表达式匹配www.baidu.com中的地址。 | https://github.com/hantmac/Python-Interview-Customs-Collection#80%E4%BD%BF%E7%94%A8%E6%AD%A3%E5%88%99%E8%A1%A8%E8%BE%BE%E5%BC%8F%E5%8C%B9%E9%85%8Dhtmlh1wwwbaiducomhtml%E4%B8%AD%E7%9A%84%E5%9C%B0%E5%9D%80 |
| 81.正则表达式匹配中 (.*) 和 (.**?) 匹配区别? | https://github.com/hantmac/Python-Interview-Customs-Collection#81%E6%AD%A3%E5%88%99%E8%A1%A8%E8%BE%BE%E5%BC%8F%E5%8C%B9%E9%85%8D%E4%B8%AD--%E5%92%8C--%E5%8C%B9%E9%85%8D%E5%8C%BA%E5%88%AB |
| 82.写一段匹配邮箱的正则表达式。 | https://github.com/hantmac/Python-Interview-Customs-Collection#82%E5%86%99%E4%B8%80%E6%AE%B5%E5%8C%B9%E9%85%8D%E9%82%AE%E7%AE%B1%E7%9A%84%E6%AD%A3%E5%88%99%E8%A1%A8%E8%BE%BE%E5%BC%8F |
| 其他内容 | https://github.com/hantmac/Python-Interview-Customs-Collection#%E5%85%B6%E4%BB%96%E5%86%85%E5%AE%B9 |
| 83.解释一下 Python 中 pass 语句的作用。 | https://github.com/hantmac/Python-Interview-Customs-Collection#83%E8%A7%A3%E9%87%8A%E4%B8%80%E4%B8%8B-python-%E4%B8%AD-pass-%E8%AF%AD%E5%8F%A5%E7%9A%84%E4%BD%9C%E7%94%A8 |
| 84.简述你对 input() 函数的理解。 | https://github.com/hantmac/Python-Interview-Customs-Collection#84%E7%AE%80%E8%BF%B0%E4%BD%A0%E5%AF%B9-input-%E5%87%BD%E6%95%B0%E7%9A%84%E7%90%86%E8%A7%A3 |
| 85.Python 中的 is 和 == 有什么区别? | https://github.com/hantmac/Python-Interview-Customs-Collection#85python-%E4%B8%AD%E7%9A%84-is-%E5%92%8C--%E6%9C%89%E4%BB%80%E4%B9%88%E5%8C%BA%E5%88%AB |
| 86.Python 中的作用域有哪些? | https://github.com/hantmac/Python-Interview-Customs-Collection#86python-%E4%B8%AD%E7%9A%84%E4%BD%9C%E7%94%A8%E5%9F%9F%E6%9C%89%E5%93%AA%E4%BA%9B |
| 87.三元运算写法和应用场景。 | https://github.com/hantmac/Python-Interview-Customs-Collection#87%E4%B8%89%E5%85%83%E8%BF%90%E7%AE%97%E5%86%99%E6%B3%95%E5%92%8C%E5%BA%94%E7%94%A8%E5%9C%BA%E6%99%AF |
| 88.了解 enumerate 吗? | https://github.com/hantmac/Python-Interview-Customs-Collection#88%E4%BA%86%E8%A7%A3-enumerate-%E5%90%97 |
| 89.列举 5 个 Python 中的标准模块。 | https://github.com/hantmac/Python-Interview-Customs-Collection#89%E5%88%97%E4%B8%BE-5-%E4%B8%AA-python-%E4%B8%AD%E7%9A%84%E6%A0%87%E5%87%86%E6%A8%A1%E5%9D%97 |
| 90.如何在函数中设置一个全局变量? | https://github.com/hantmac/Python-Interview-Customs-Collection#90%E5%A6%82%E4%BD%95%E5%9C%A8%E5%87%BD%E6%95%B0%E4%B8%AD%E8%AE%BE%E7%BD%AE%E4%B8%80%E4%B8%AA%E5%85%A8%E5%B1%80%E5%8F%98%E9%87%8F |
| 91.pathlib 的用法举例。 | https://github.com/hantmac/Python-Interview-Customs-Collection#91pathlib-%E7%9A%84%E7%94%A8%E6%B3%95%E4%B8%BE%E4%BE%8B |
| 92.请对 Python 中的异常处理写一个简单的应用场景。 | https://github.com/hantmac/Python-Interview-Customs-Collection#92%E8%AF%B7%E5%AF%B9-python-%E4%B8%AD%E7%9A%84%E5%BC%82%E5%B8%B8%E5%A4%84%E7%90%86%E5%86%99%E4%B8%80%E4%B8%AA%E7%AE%80%E5%8D%95%E7%9A%84%E5%BA%94%E7%94%A8%E5%9C%BA%E6%99%AF |
| 93.Python 中递归的最大次数是多少?如何突破? | https://github.com/hantmac/Python-Interview-Customs-Collection#93python-%E4%B8%AD%E9%80%92%E5%BD%92%E7%9A%84%E6%9C%80%E5%A4%A7%E6%AC%A1%E6%95%B0%E6%98%AF%E5%A4%9A%E5%B0%91%E5%A6%82%E4%BD%95%E7%AA%81%E7%A0%B4 |
| 94.什么是面向对象的 MRO? | https://github.com/hantmac/Python-Interview-Customs-Collection#94%E4%BB%80%E4%B9%88%E6%98%AF%E9%9D%A2%E5%90%91%E5%AF%B9%E8%B1%A1%E7%9A%84-mro |
| 95.简述 isinstance 的作用以及应用场景。 | https://github.com/hantmac/Python-Interview-Customs-Collection#95%E7%AE%80%E8%BF%B0-isinstance-%E7%9A%84%E4%BD%9C%E7%94%A8%E4%BB%A5%E5%8F%8A%E5%BA%94%E7%94%A8%E5%9C%BA%E6%99%AF |
| 96.什么是断言?并描述一个应用场景。 | https://github.com/hantmac/Python-Interview-Customs-Collection#96%E4%BB%80%E4%B9%88%E6%98%AF%E6%96%AD%E8%A8%80%E5%B9%B6%E6%8F%8F%E8%BF%B0%E4%B8%80%E4%B8%AA%E5%BA%94%E7%94%A8%E5%9C%BA%E6%99%AF |
| 97.lambda 表达式格式以及应用场景。 | https://github.com/hantmac/Python-Interview-Customs-Collection#97lambda-%E8%A1%A8%E8%BE%BE%E5%BC%8F%E6%A0%BC%E5%BC%8F%E4%BB%A5%E5%8F%8A%E5%BA%94%E7%94%A8%E5%9C%BA%E6%99%AF |
| 98.新式类和旧式类的区别有哪些? | https://github.com/hantmac/Python-Interview-Customs-Collection#98%E6%96%B0%E5%BC%8F%E7%B1%BB%E5%92%8C%E6%97%A7%E5%BC%8F%E7%B1%BB%E7%9A%84%E5%8C%BA%E5%88%AB%E6%9C%89%E5%93%AA%E4%BA%9B |
| 99.dir() 是用来干什么的? | https://github.com/hantmac/Python-Interview-Customs-Collection#99dir-%E6%98%AF%E7%94%A8%E6%9D%A5%E5%B9%B2%E4%BB%80%E4%B9%88%E7%9A%84 |
| 100.一个包里有三个模块,demo1.py、demo2.py 和 demo3.py,但使用 from tools import * 导入模块时,如何保证只有 demo1、demo3 被导入? | https://github.com/hantmac/Python-Interview-Customs-Collection#100%E4%B8%80%E4%B8%AA%E5%8C%85%E9%87%8C%E6%9C%89%E4%B8%89%E4%B8%AA%E6%A8%A1%E5%9D%97demo1pydemo2py-%E5%92%8C-demo3py%E4%BD%86%E4%BD%BF%E7%94%A8-from-tools-import--%E5%AF%BC%E5%85%A5%E6%A8%A1%E5%9D%97%E6%97%B6%E5%A6%82%E4%BD%95%E4%BF%9D%E8%AF%81%E5%8F%AA%E6%9C%89-demo1demo3-%E8%A2%AB%E5%AF%BC%E5%85%A5 |
| 101.列举 5 个 Python 中的异常类型以及其含义。 | https://github.com/hantmac/Python-Interview-Customs-Collection#101%E5%88%97%E4%B8%BE-5-%E4%B8%AA-python-%E4%B8%AD%E7%9A%84%E5%BC%82%E5%B8%B8%E7%B1%BB%E5%9E%8B%E4%BB%A5%E5%8F%8A%E5%85%B6%E5%90%AB%E4%B9%89 |
| 102.copy 和 deepcopy 的区别是什么? | https://github.com/hantmac/Python-Interview-Customs-Collection#102copy-%E5%92%8C-deepcopy-%E7%9A%84%E5%8C%BA%E5%88%AB%E6%98%AF%E4%BB%80%E4%B9%88 |
| 103.请阐述代码中经常遇到的 *args, **kwargs 的含义及用法。 | https://github.com/hantmac/Python-Interview-Customs-Collection#103%E8%AF%B7%E9%98%90%E8%BF%B0%E4%BB%A3%E7%A0%81%E4%B8%AD%E7%BB%8F%E5%B8%B8%E9%81%87%E5%88%B0%E7%9A%84-args-kwargs-%E7%9A%84%E5%90%AB%E4%B9%89%E5%8F%8A%E7%94%A8%E6%B3%95 |
| 104.Python 中会有函数或成员变量包含单下划线前缀和结尾,或双下划线前缀结尾,它们的区别是什么? | https://github.com/hantmac/Python-Interview-Customs-Collection#104python-%E4%B8%AD%E4%BC%9A%E6%9C%89%E5%87%BD%E6%95%B0%E6%88%96%E6%88%90%E5%91%98%E5%8F%98%E9%87%8F%E5%8C%85%E5%90%AB%E5%8D%95%E4%B8%8B%E5%88%92%E7%BA%BF%E5%89%8D%E7%BC%80%E5%92%8C%E7%BB%93%E5%B0%BE%E6%88%96%E5%8F%8C%E4%B8%8B%E5%88%92%E7%BA%BF%E5%89%8D%E7%BC%80%E7%BB%93%E5%B0%BE%E5%AE%83%E4%BB%AC%E7%9A%84%E5%8C%BA%E5%88%AB%E6%98%AF%E4%BB%80%E4%B9%88 |
| 105.简述 w、a 和 wb 文件写入模式的区别。 | https://github.com/hantmac/Python-Interview-Customs-Collection#105%E7%AE%80%E8%BF%B0-wa-%E5%92%8C-wb-%E6%96%87%E4%BB%B6%E5%86%99%E5%85%A5%E6%A8%A1%E5%BC%8F%E7%9A%84%E5%8C%BA%E5%88%AB |
| 106.举例 sort 和 sorted 的区别。 | https://github.com/hantmac/Python-Interview-Customs-Collection#106%E4%B8%BE%E4%BE%8B-sort-%E5%92%8C-sorted-%E7%9A%84%E5%8C%BA%E5%88%AB |
| 107.什么是负索引? | https://github.com/hantmac/Python-Interview-Customs-Collection#107%E4%BB%80%E4%B9%88%E6%98%AF%E8%B4%9F%E7%B4%A2%E5%BC%95 |
| 108.pprint 模块是干什么的? | https://github.com/hantmac/Python-Interview-Customs-Collection#108pprint-%E6%A8%A1%E5%9D%97%E6%98%AF%E5%B9%B2%E4%BB%80%E4%B9%88%E7%9A%84 |
| 109.解释一下 Python 中的赋值运算符。 | https://github.com/hantmac/Python-Interview-Customs-Collection#109%E8%A7%A3%E9%87%8A%E4%B8%80%E4%B8%8B-python-%E4%B8%AD%E7%9A%84%E8%B5%8B%E5%80%BC%E8%BF%90%E7%AE%97%E7%AC%A6 |
| 110.解释一下 Python 中的逻辑运算符。 | https://github.com/hantmac/Python-Interview-Customs-Collection#110%E8%A7%A3%E9%87%8A%E4%B8%80%E4%B8%8B-python-%E4%B8%AD%E7%9A%84%E9%80%BB%E8%BE%91%E8%BF%90%E7%AE%97%E7%AC%A6 |
| 111.讲讲 Python 中的位运算符。 | https://github.com/hantmac/Python-Interview-Customs-Collection#111%E8%AE%B2%E8%AE%B2-python-%E4%B8%AD%E7%9A%84%E4%BD%8D%E8%BF%90%E7%AE%97%E7%AC%A6 |
| 112.在 Python 中如何使用多进制数字? | https://github.com/hantmac/Python-Interview-Customs-Collection#112%E5%9C%A8-python-%E4%B8%AD%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8%E5%A4%9A%E8%BF%9B%E5%88%B6%E6%95%B0%E5%AD%97 |
| 113.怎样声明多个变量并赋值? | https://github.com/hantmac/Python-Interview-Customs-Collection#113%E6%80%8E%E6%A0%B7%E5%A3%B0%E6%98%8E%E5%A4%9A%E4%B8%AA%E5%8F%98%E9%87%8F%E5%B9%B6%E8%B5%8B%E5%80%BC |
| 算法和数据结构 | https://github.com/hantmac/Python-Interview-Customs-Collection#%E7%AE%97%E6%B3%95%E5%92%8C%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84 |
| 114.已知: | https://github.com/hantmac/Python-Interview-Customs-Collection#114%E5%B7%B2%E7%9F%A5 |
| (1) 从 AList 和 BSet 中 查找 4,最坏时间复杂度那个大? | https://github.com/hantmac/Python-Interview-Customs-Collection#1-%E4%BB%8E-alist-%E5%92%8C-bset-%E4%B8%AD-%E6%9F%A5%E6%89%BE-4%E6%9C%80%E5%9D%8F%E6%97%B6%E9%97%B4%E5%A4%8D%E6%9D%82%E5%BA%A6%E9%82%A3%E4%B8%AA%E5%A4%A7 |
| (2) 从 AList 和 BSet 中 插入 4,最坏时间复杂度那个大? | https://github.com/hantmac/Python-Interview-Customs-Collection#2-%E4%BB%8E-alist-%E5%92%8C-bset-%E4%B8%AD-%E6%8F%92%E5%85%A5-4%E6%9C%80%E5%9D%8F%E6%97%B6%E9%97%B4%E5%A4%8D%E6%9D%82%E5%BA%A6%E9%82%A3%E4%B8%AA%E5%A4%A7 |
| 115.用 Python 实现一个二分查找的函数。 | https://github.com/hantmac/Python-Interview-Customs-Collection#115%E7%94%A8-python-%E5%AE%9E%E7%8E%B0%E4%B8%80%E4%B8%AA%E4%BA%8C%E5%88%86%E6%9F%A5%E6%89%BE%E7%9A%84%E5%87%BD%E6%95%B0 |
| 116.Python 单例模式的实现方法。 | https://github.com/hantmac/Python-Interview-Customs-Collection#116python-%E5%8D%95%E4%BE%8B%E6%A8%A1%E5%BC%8F%E7%9A%84%E5%AE%9E%E7%8E%B0%E6%96%B9%E6%B3%95 |
| 117.使用 Python 实现一个斐波那契数列。 | https://github.com/hantmac/Python-Interview-Customs-Collection#117%E4%BD%BF%E7%94%A8-python-%E5%AE%9E%E7%8E%B0%E4%B8%80%E4%B8%AA%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E6%95%B0%E5%88%97 |
| 118.找出列表中的重复数字。 | https://github.com/hantmac/Python-Interview-Customs-Collection#118%E6%89%BE%E5%87%BA%E5%88%97%E8%A1%A8%E4%B8%AD%E7%9A%84%E9%87%8D%E5%A4%8D%E6%95%B0%E5%AD%97 |
| 119.找出列表中的单个数字。 | https://github.com/hantmac/Python-Interview-Customs-Collection#119%E6%89%BE%E5%87%BA%E5%88%97%E8%A1%A8%E4%B8%AD%E7%9A%84%E5%8D%95%E4%B8%AA%E6%95%B0%E5%AD%97 |
| 120.写一个冒泡排序。 | https://github.com/hantmac/Python-Interview-Customs-Collection#120%E5%86%99%E4%B8%80%E4%B8%AA%E5%86%92%E6%B3%A1%E6%8E%92%E5%BA%8F |
| 121.写一个快速排序。 | https://github.com/hantmac/Python-Interview-Customs-Collection#121%E5%86%99%E4%B8%80%E4%B8%AA%E5%BF%AB%E9%80%9F%E6%8E%92%E5%BA%8F |
| 122.写一个拓扑排序。 | https://github.com/hantmac/Python-Interview-Customs-Collection#122%E5%86%99%E4%B8%80%E4%B8%AA%E6%8B%93%E6%89%91%E6%8E%92%E5%BA%8F |
| 123.用 Python 实现一个二进制计算。 | https://github.com/hantmac/Python-Interview-Customs-Collection#123%E7%94%A8-python-%E5%AE%9E%E7%8E%B0%E4%B8%80%E4%B8%AA%E4%BA%8C%E8%BF%9B%E5%88%B6%E8%AE%A1%E7%AE%97 |
| 124.有一组 " " 和 "-" 符号,要求将 " " 排到左边,"-" 排到右边,写出具体的实现方法。 | https://github.com/hantmac/Python-Interview-Customs-Collection#124%E6%9C%89%E4%B8%80%E7%BB%84--%E5%92%8C---%E7%AC%A6%E5%8F%B7%E8%A6%81%E6%B1%82%E5%B0%86--%E6%8E%92%E5%88%B0%E5%B7%A6%E8%BE%B9--%E6%8E%92%E5%88%B0%E5%8F%B3%E8%BE%B9%E5%86%99%E5%87%BA%E5%85%B7%E4%BD%93%E7%9A%84%E5%AE%9E%E7%8E%B0%E6%96%B9%E6%B3%95 |
| 125.单链表反转。 | https://github.com/hantmac/Python-Interview-Customs-Collection#125%E5%8D%95%E9%93%BE%E8%A1%A8%E5%8F%8D%E8%BD%AC |
| 126.交叉链表求交点。 | https://github.com/hantmac/Python-Interview-Customs-Collection#126%E4%BA%A4%E5%8F%89%E9%93%BE%E8%A1%A8%E6%B1%82%E4%BA%A4%E7%82%B9 |
| 127.用队列实现栈。 | https://github.com/hantmac/Python-Interview-Customs-Collection#127%E7%94%A8%E9%98%9F%E5%88%97%E5%AE%9E%E7%8E%B0%E6%A0%88 |
| 128.找出数据流的中位数。 | https://github.com/hantmac/Python-Interview-Customs-Collection#128%E6%89%BE%E5%87%BA%E6%95%B0%E6%8D%AE%E6%B5%81%E7%9A%84%E4%B8%AD%E4%BD%8D%E6%95%B0 |
| 129.二叉搜索树中第 K 小的元素。 | https://github.com/hantmac/Python-Interview-Customs-Collection#129%E4%BA%8C%E5%8F%89%E6%90%9C%E7%B4%A2%E6%A0%91%E4%B8%AD%E7%AC%AC-k-%E5%B0%8F%E7%9A%84%E5%85%83%E7%B4%A0 |
| 爬虫相关 | https://github.com/hantmac/Python-Interview-Customs-Collection#%E7%88%AC%E8%99%AB%E7%9B%B8%E5%85%B3 |
| 130.在 requests 模块中,requests.content 和 requests.text 什么区别? | https://github.com/hantmac/Python-Interview-Customs-Collection#130%E5%9C%A8-requests-%E6%A8%A1%E5%9D%97%E4%B8%ADrequestscontent-%E5%92%8C-requeststext-%E4%BB%80%E4%B9%88%E5%8C%BA%E5%88%AB |
| 131.简要写一下 lxml 模块的使用方法框架。 | https://github.com/hantmac/Python-Interview-Customs-Collection#131%E7%AE%80%E8%A6%81%E5%86%99%E4%B8%80%E4%B8%8B-lxml-%E6%A8%A1%E5%9D%97%E7%9A%84%E4%BD%BF%E7%94%A8%E6%96%B9%E6%B3%95%E6%A1%86%E6%9E%B6 |
| 132.说一说 scrapy 的工作流程。 | https://github.com/hantmac/Python-Interview-Customs-Collection#132%E8%AF%B4%E4%B8%80%E8%AF%B4-scrapy-%E7%9A%84%E5%B7%A5%E4%BD%9C%E6%B5%81%E7%A8%8B |
| 133.简述 scrapy 的去重原理。 | https://github.com/hantmac/Python-Interview-Customs-Collection#133%E7%AE%80%E8%BF%B0-scrapy-%E7%9A%84%E5%8E%BB%E9%87%8D%E5%8E%9F%E7%90%86 |
| 134.scrapy 中间件有几种类,你用过哪些中间件? | https://github.com/hantmac/Python-Interview-Customs-Collection#134scrapy-%E4%B8%AD%E9%97%B4%E4%BB%B6%E6%9C%89%E5%87%A0%E7%A7%8D%E7%B1%BB%E4%BD%A0%E7%94%A8%E8%BF%87%E5%93%AA%E4%BA%9B%E4%B8%AD%E9%97%B4%E4%BB%B6 |
| 135.你写爬虫的时候都遇到过什么反爬虫措施,你是怎么解决的? | https://github.com/hantmac/Python-Interview-Customs-Collection#135%E4%BD%A0%E5%86%99%E7%88%AC%E8%99%AB%E7%9A%84%E6%97%B6%E5%80%99%E9%83%BD%E9%81%87%E5%88%B0%E8%BF%87%E4%BB%80%E4%B9%88%E5%8F%8D%E7%88%AC%E8%99%AB%E6%8E%AA%E6%96%BD%E4%BD%A0%E6%98%AF%E6%80%8E%E4%B9%88%E8%A7%A3%E5%86%B3%E7%9A%84 |
| 136.为什么会用到代理? | https://github.com/hantmac/Python-Interview-Customs-Collection#136%E4%B8%BA%E4%BB%80%E4%B9%88%E4%BC%9A%E7%94%A8%E5%88%B0%E4%BB%A3%E7%90%86 |
| 137.代理失效了怎么处理? | https://github.com/hantmac/Python-Interview-Customs-Collection#137%E4%BB%A3%E7%90%86%E5%A4%B1%E6%95%88%E4%BA%86%E6%80%8E%E4%B9%88%E5%A4%84%E7%90%86 |
| 138.列出你知道 header 的内容以及信息。 | https://github.com/hantmac/Python-Interview-Customs-Collection#138%E5%88%97%E5%87%BA%E4%BD%A0%E7%9F%A5%E9%81%93-header-%E7%9A%84%E5%86%85%E5%AE%B9%E4%BB%A5%E5%8F%8A%E4%BF%A1%E6%81%AF |
| 139.说一说如何打开浏览器访问 | https://github.com/hantmac/Python-Interview-Customs-Collection#139%E8%AF%B4%E4%B8%80%E8%AF%B4%E5%A6%82%E4%BD%95%E6%89%93%E5%BC%80%E6%B5%8F%E8%A7%88%E5%99%A8%E8%AE%BF%E9%97%AE-wwwbaiducom-%E8%8E%B7%E5%8F%96%E5%88%B0%E7%BB%93%E6%9E%9C%E7%AE%80%E8%BF%B0%E6%95%B4%E4%B8%AA%E6%B5%81%E7%A8%8B |
| www.baidu.com | http://www.baidu.com |
| 140.爬取速度过快时,出现了验证码怎么处理? | https://github.com/hantmac/Python-Interview-Customs-Collection#140%E7%88%AC%E5%8F%96%E9%80%9F%E5%BA%A6%E8%BF%87%E5%BF%AB%E6%97%B6%E5%87%BA%E7%8E%B0%E4%BA%86%E9%AA%8C%E8%AF%81%E7%A0%81%E6%80%8E%E4%B9%88%E5%A4%84%E7%90%86 |
| 141.scrapy 和 scrapy-redis 有什么区别?为什么选择 redis 数据库? | https://github.com/hantmac/Python-Interview-Customs-Collection#141scrapy-%E5%92%8C-scrapy-redis-%E6%9C%89%E4%BB%80%E4%B9%88%E5%8C%BA%E5%88%AB%E4%B8%BA%E4%BB%80%E4%B9%88%E9%80%89%E6%8B%A9-redis-%E6%95%B0%E6%8D%AE%E5%BA%93 |
| 142.分布式爬虫主要解决什么问题? | https://github.com/hantmac/Python-Interview-Customs-Collection#142%E5%88%86%E5%B8%83%E5%BC%8F%E7%88%AC%E8%99%AB%E4%B8%BB%E8%A6%81%E8%A7%A3%E5%86%B3%E4%BB%80%E4%B9%88%E9%97%AE%E9%A2%98 |
| 143.写爬虫是用多进程好还是多线程好? 为什么? | https://github.com/hantmac/Python-Interview-Customs-Collection#143%E5%86%99%E7%88%AC%E8%99%AB%E6%98%AF%E7%94%A8%E5%A4%9A%E8%BF%9B%E7%A8%8B%E5%A5%BD%E8%BF%98%E6%98%AF%E5%A4%9A%E7%BA%BF%E7%A8%8B%E5%A5%BD-%E4%B8%BA%E4%BB%80%E4%B9%88 |
| 144.解析网页的解析器使用最多的是哪几个? | https://github.com/hantmac/Python-Interview-Customs-Collection#144%E8%A7%A3%E6%9E%90%E7%BD%91%E9%A1%B5%E7%9A%84%E8%A7%A3%E6%9E%90%E5%99%A8%E4%BD%BF%E7%94%A8%E6%9C%80%E5%A4%9A%E7%9A%84%E6%98%AF%E5%93%AA%E5%87%A0%E4%B8%AA |
| 145.需要登录的网页,如何在不使用动态爬取的情况下解决 ip、cookie 和 session(其中有一些是动态生成的)的同时限制? | https://github.com/hantmac/Python-Interview-Customs-Collection#145%E9%9C%80%E8%A6%81%E7%99%BB%E5%BD%95%E7%9A%84%E7%BD%91%E9%A1%B5%E5%A6%82%E4%BD%95%E5%9C%A8%E4%B8%8D%E4%BD%BF%E7%94%A8%E5%8A%A8%E6%80%81%E7%88%AC%E5%8F%96%E7%9A%84%E6%83%85%E5%86%B5%E4%B8%8B%E8%A7%A3%E5%86%B3-ipcookie-%E5%92%8C-session%E5%85%B6%E4%B8%AD%E6%9C%89%E4%B8%80%E4%BA%9B%E6%98%AF%E5%8A%A8%E6%80%81%E7%94%9F%E6%88%90%E7%9A%84%E7%9A%84%E5%90%8C%E6%97%B6%E9%99%90%E5%88%B6 |
| 146.验证码的解决。 | https://github.com/hantmac/Python-Interview-Customs-Collection#146%E9%AA%8C%E8%AF%81%E7%A0%81%E7%9A%84%E8%A7%A3%E5%86%B3 |
| 147.使用的最多的数据库(mysql,mongodb,redis 等)有哪些?并简述对它的理解? | https://github.com/hantmac/Python-Interview-Customs-Collection#147%E4%BD%BF%E7%94%A8%E7%9A%84%E6%9C%80%E5%A4%9A%E7%9A%84%E6%95%B0%E6%8D%AE%E5%BA%93mysqlmongodbredis-%E7%AD%89%E6%9C%89%E5%93%AA%E4%BA%9B%E5%B9%B6%E7%AE%80%E8%BF%B0%E5%AF%B9%E5%AE%83%E7%9A%84%E7%90%86%E8%A7%A3 |
| 网络编程 | https://github.com/hantmac/Python-Interview-Customs-Collection#%E7%BD%91%E7%BB%9C%E7%BC%96%E7%A8%8B |
| 148.TCP 和 UDP 的区别有哪些? | https://github.com/hantmac/Python-Interview-Customs-Collection#148tcp-%E5%92%8C-udp-%E7%9A%84%E5%8C%BA%E5%88%AB%E6%9C%89%E5%93%AA%E4%BA%9B |
| 149.简要介绍三次握手和四次挥手。 | https://github.com/hantmac/Python-Interview-Customs-Collection#149%E7%AE%80%E8%A6%81%E4%BB%8B%E7%BB%8D%E4%B8%89%E6%AC%A1%E6%8F%A1%E6%89%8B%E5%92%8C%E5%9B%9B%E6%AC%A1%E6%8C%A5%E6%89%8B |
| 150.什么是粘包? socket 中造成粘包的原因是什么? 哪些情况会发生粘包现象? | https://github.com/hantmac/Python-Interview-Customs-Collection#150%E4%BB%80%E4%B9%88%E6%98%AF%E7%B2%98%E5%8C%85-socket-%E4%B8%AD%E9%80%A0%E6%88%90%E7%B2%98%E5%8C%85%E7%9A%84%E5%8E%9F%E5%9B%A0%E6%98%AF%E4%BB%80%E4%B9%88-%E5%93%AA%E4%BA%9B%E6%83%85%E5%86%B5%E4%BC%9A%E5%8F%91%E7%94%9F%E7%B2%98%E5%8C%85%E7%8E%B0%E8%B1%A1 |
| 并发 | https://github.com/hantmac/Python-Interview-Customs-Collection#%E5%B9%B6%E5%8F%91 |
| 151.举例说明 conccurent.future 的中线程池的用法。 | https://github.com/hantmac/Python-Interview-Customs-Collection#151%E4%B8%BE%E4%BE%8B%E8%AF%B4%E6%98%8E-conccurentfuture-%E7%9A%84%E4%B8%AD%E7%BA%BF%E7%A8%8B%E6%B1%A0%E7%9A%84%E7%94%A8%E6%B3%95 |
| 152.说一说多线程,多进程 和 协程 的区别。 | https://github.com/hantmac/Python-Interview-Customs-Collection#152%E8%AF%B4%E4%B8%80%E8%AF%B4%E5%A4%9A%E7%BA%BF%E7%A8%8B%E5%A4%9A%E8%BF%9B%E7%A8%8B-%E5%92%8C-%E5%8D%8F%E7%A8%8B-%E7%9A%84%E5%8C%BA%E5%88%AB |
| 153.简述 GIL。 | https://github.com/hantmac/Python-Interview-Customs-Collection#153%E7%AE%80%E8%BF%B0-gil |
| 154.进程之间如何通信? | https://github.com/hantmac/Python-Interview-Customs-Collection#154%E8%BF%9B%E7%A8%8B%E4%B9%8B%E9%97%B4%E5%A6%82%E4%BD%95%E9%80%9A%E4%BF%A1 |
| 155.IO 多路复用的作用? | https://github.com/hantmac/Python-Interview-Customs-Collection#155io-%E5%A4%9A%E8%B7%AF%E5%A4%8D%E7%94%A8%E7%9A%84%E4%BD%9C%E7%94%A8 |
| 156.select、poll 和 epoll 模型的区别。 | https://github.com/hantmac/Python-Interview-Customs-Collection#156selectpoll-%E5%92%8C-epoll-%E6%A8%A1%E5%9E%8B%E7%9A%84%E5%8C%BA%E5%88%AB |
| 157.什么是并发和并行? | https://github.com/hantmac/Python-Interview-Customs-Collection#157%E4%BB%80%E4%B9%88%E6%98%AF%E5%B9%B6%E5%8F%91%E5%92%8C%E5%B9%B6%E8%A1%8C |
| 158.解释什么是异步非阻塞? | https://github.com/hantmac/Python-Interview-Customs-Collection#158%E8%A7%A3%E9%87%8A%E4%BB%80%E4%B9%88%E6%98%AF%E5%BC%82%E6%AD%A5%E9%9D%9E%E9%98%BB%E5%A1%9E |
| 159.简述 threading.local 的作用。 | https://github.com/hantmac/Python-Interview-Customs-Collection#159%E7%AE%80%E8%BF%B0-threadinglocal-%E7%9A%84%E4%BD%9C%E7%94%A8 |
| Git 面试题 | https://github.com/hantmac/Python-Interview-Customs-Collection#git-%E9%9D%A2%E8%AF%95%E9%A2%98 |
| 160.说说你知道的 git 命令。 | https://github.com/hantmac/Python-Interview-Customs-Collection#160%E8%AF%B4%E8%AF%B4%E4%BD%A0%E7%9F%A5%E9%81%93%E7%9A%84-git-%E5%91%BD%E4%BB%A4 |
| 161.git 如何查看某次提交修改的内容? | https://github.com/hantmac/Python-Interview-Customs-Collection#161git-%E5%A6%82%E4%BD%95%E6%9F%A5%E7%9C%8B%E6%9F%90%E6%AC%A1%E6%8F%90%E4%BA%A4%E4%BF%AE%E6%94%B9%E7%9A%84%E5%86%85%E5%AE%B9 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#一语言特性 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#1谈谈对-python-和其他语言的区别 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#2简述解释型和编译型编程语言 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#3python-的解释器种类以及相关特点 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#4说说你知道的-python3-和-python2-之间的区别 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#5python3-和-python2-中-int-和-long-的区别 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#6xrange-和-range-的区别 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#二编码规范 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#7什么是-pep8 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#8了解-python-之禅吗 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#9了解-docstring-吗 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#10了解类型注解吗 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#11例举你知道-python-对象的命名规范例如方法或者类等 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#12python-中的注释有几种 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#13如何优雅的给一个函数加注释 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#14如何给变量加注释 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#15python-代码缩进中是否支持-tab-键和-空格-混用 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#16是否可以在一句-import-中导入多个库 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#17在给-python-文件命名的时候需要注意什么 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#18例举几个规范-python-代码风格的工具 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#三数据类型 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#字符串 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#19列举-python-中的基本数据类型 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#20如何区别-可变数据类型-和-不可变数据类型 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#21将-hello-world-转换为首字母大写-hello-world |
| https://github.com/hantmac/Python-Interview-Customs-Collection#22如何检测字符串中只含有数字 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#23将字符串-ilovechina-进行反转 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#24python-中的字符串格式化方式你知道哪些 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#25有一个字符串开头和末尾都有空格比如--adabdw-要求写一个函数把这个字符串的前后空格都去掉 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#26获取字符串-123456-最后的两个字符 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#27一个编码为-gbk-的字符串-s要将其转成-utf-8-编码的字符串应如何操作 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#28字符串-s--infoxiaozhang-33-shandong用正则切分字符串输出-info-xiaozhang-33-shandong |
| https://github.com/hantmac/Python-Interview-Customs-Collection#29怎样将字符串转换为小写 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#30单引号双引号和三引号的区别 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#31字符串-a--你好-----中国--去除多余空格只留一个空格 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#列表 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#32已知-alist--12312对-alist-列表元素去重写出具体过程 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#33如何将-123-变成-123 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#34给定两个-lista-和-b找出相同元素和不同元素 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#35用一行代码展开该列表-123456得出123456 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#36合并列表-1579-和-2268 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#37如何打乱一个列表的元素 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#字典 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#38字典操作中-del-和-pop-有什么区别 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#39将如下字典按照年龄排序 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#40请合并下面两个字典-a--a1b2b--c3d4 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#41如何使用生成式的方式生成一个字典写一段功能代码 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#42如何把-元组-ab-和-元组12变为字典a1b2 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#综合数据类型 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#43python-常用的数据结构的类型及其特性 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#44如何将-元组ab-和-元组12-合并成-字典a1b2 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#45python-里面如何实现-tuple-和-list-的转换 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#46我们知道对于列表可以使用切片操作进行部分元素的选择那么如何对生成器类型的对象实现相同的功能呢 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#47请将-i-for-i-in-range3-改成-生成器 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#48将-ahello-和-b你好-编码成-bytes-类型 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#49下面的代码输出结果是什么 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#50下面的代码输出的结果是什么 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#操作类题目 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#51在-python-中交换两个变量的值 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#52在读文件操作的时候会使用-readreadline-或者-readlines简述它们各自的作用 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#53json-序列化时可以处理的数据类型有哪些如何定制支持-datetime-类型 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#54json-序列化时默认遇到中文会转换成-unicode如果想要保留中文怎么办 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#55有两个磁盘文件-a-和-b各存放一行字母要求把这两个文件中的信息合并按字母顺序排列输出到一个新文件-c-中 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#56如果当前的日期为-20190530要求写一个函数输出-n-天后的日期比如-n-为-2则输出-20190601 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#57写一个函数接收整数参数-n返回一个函数函数的功能是把函数的参数和-n-相乘并把结果返回 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#58下面的代码会存在什么问题如何改进 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#59一行代码输出-1-100-之间的所有偶数 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#60with-语句的作用并用它写一段代码 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#61python-字典和-json-字符串相互转化方法 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#62请写一个-python-逻辑计算一个文件中的大写字母数量 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#高级特性 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#63函数装饰器有什么作用请列举说明 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#64简述-python-垃圾回收机制 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#65魔法函数-__call__怎么使用 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#66如何判断一个对象是函数还是方法 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#67简述-classmethod-和-staticmethod-用法和区别 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#68python-中的接口如何实现 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#69你了解-python-中的反射吗 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#70简述-metaclass-的作用和其应用场景 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#71对比-hasattrgetattr-和-setattr-的用法 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#72请列举你知道的-python-的魔法方法及用途 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#73如何知道一个-python-对象的类型 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#74python-中的-元类metaclass-使用举例 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#75简述-any-和-all-方法 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#76用-filter-方法求出列表-a---1-2-3-4-5-6-7-8-9-10-中的所有奇数并构造新列表 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#77什么是猴子补丁 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#78在-python-中是如何管理内存的 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#79当退出-python-时是否释放所有内存分配 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#正则表达式 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#80使用正则表达式匹配htmlh1wwwbaiducomhtml中的地址 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#81正则表达式匹配中--和--匹配区别 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#82写一段匹配邮箱的正则表达式 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#其他内容 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#83解释一下-python-中-pass-语句的作用 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#84简述你对-input-函数的理解 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#85python-中的-is-和--有什么区别 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#86python-中的作用域有哪些 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#87三元运算写法和应用场景 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#88了解-enumerate-吗 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#89列举-5-个-python-中的标准模块 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#90如何在函数中设置一个全局变量 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#91pathlib-的用法举例 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#92请对-python-中的异常处理写一个简单的应用场景 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#93python-中递归的最大次数是多少如何突破 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#94什么是面向对象的-mro |
| https://github.com/hantmac/Python-Interview-Customs-Collection#95简述-isinstance-的作用以及应用场景 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#96什么是断言并描述一个应用场景 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#97lambda-表达式格式以及应用场景 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#98新式类和旧式类的区别有哪些 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#99dir-是用来干什么的 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#100一个包里有三个模块demo1pydemo2py-和-demo3py但使用-from-tools-import--导入模块时如何保证只有-demo1demo3-被导入 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#101列举-5-个-python-中的异常类型以及其含义 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#102copy-和-deepcopy-的区别是什么 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#103请阐述代码中经常遇到的-args-kwargs-的含义及用法 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#104python-中会有函数或成员变量包含单下划线前缀和结尾或双下划线前缀结尾它们的区别是什么 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#105简述-wa-和-wb-文件写入模式的区别 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#106举例-sort-和-sorted-的区别 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#107什么是负索引 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#108pprint-模块是干什么的 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#109解释一下-python-中的赋值运算符 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#110解释一下-python-中的逻辑运算符 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#111讲讲-python-中的位运算符 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#112在-python-中如何使用多进制数字 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#113怎样声明多个变量并赋值 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#算法和数据结构 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#114已知 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#1-从-alist-和-bset-中-查找-4最坏时间复杂度那个大 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#2-从-alist-和-bset-中-插入-4最坏时间复杂度那个大 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#115用-python-实现一个二分查找的函数 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#116python-单例模式的实现方法 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#117使用-python-实现一个斐波那契数列 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#118找出列表中的重复数字 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#119找出列表中的单个数字 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#120写一个冒泡排序 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#121写一个快速排序 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#122写一个拓扑排序 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#123用-python-实现一个二进制计算 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#124有一组--和---符号要求将--排到左边--排到右边写出具体的实现方法 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#125单链表反转 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#126交叉链表求交点 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#127用队列实现栈 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#128找出数据流的中位数 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#129二叉搜索树中第-k-小的元素 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#爬虫相关 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#130在-requests-模块中requestscontent-和-requeststext-什么区别 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#131简要写一下-lxml-模块的使用方法框架 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#132说一说-scrapy-的工作流程 |
| https://camo.githubusercontent.com/21d0b7ed376bb1647273d895c88548e71a6e456c3fae6927826d2253585a975a/687474703a2f2f7777342e73696e61696d672e636e2f6c617267652f303036744e6337396779316735766b3676646e32386a333132773071346468642e6a7067 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#133简述-scrapy-的去重原理 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#134scrapy-中间件有几种类你用过哪些中间件 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#135你写爬虫的时候都遇到过什么反爬虫措施你是怎么解决的 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#136为什么会用到代理 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#137代理失效了怎么处理 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#138列出你知道-header-的内容以及信息 |
| www.baidu.com | http://www.baidu.com |
| https://github.com/hantmac/Python-Interview-Customs-Collection#139说一说如何打开浏览器访问-wwwbaiducom-获取到结果简述整个流程 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#140爬取速度过快时出现了验证码怎么处理 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#141scrapy-和-scrapy-redis-有什么区别为什么选择-redis-数据库 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#142分布式爬虫主要解决什么问题 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#143写爬虫是用多进程好还是多线程好-为什么 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#144解析网页的解析器使用最多的是哪几个 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#145需要登录的网页如何在不使用动态爬取的情况下解决-ipcookie-和-session其中有一些是动态生成的的同时限制 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#146验证码的解决 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#147使用的最多的数据库mysqlmongodbredis-等有哪些并简述对它的理解 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#网络编程 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#148tcp-和-udp-的区别有哪些 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#149简要介绍三次握手和四次挥手 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#150什么是粘包-socket-中造成粘包的原因是什么-哪些情况会发生粘包现象 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#并发 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#151举例说明-conccurentfuture-的中线程池的用法 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#152说一说多线程多进程-和-协程-的区别 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#153简述-gil |
| https://github.com/hantmac/Python-Interview-Customs-Collection#154进程之间如何通信 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#155io-多路复用的作用 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#156selectpoll-和-epoll-模型的区别 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#157什么是并发和并行 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#158解释什么是异步非阻塞 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#159简述-threadinglocal-的作用 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#git-面试题 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#160说说你知道的-git-命令 |
| https://github.com/hantmac/Python-Interview-Customs-Collection#161git-如何查看某次提交修改的内容 |
|
Readme
| https://github.com/hantmac/Python-Interview-Customs-Collection#readme-ov-file |
| Please reload this page | https://github.com/hantmac/Python-Interview-Customs-Collection |
|
Activity | https://github.com/hantmac/Python-Interview-Customs-Collection/activity |
|
417
stars | https://github.com/hantmac/Python-Interview-Customs-Collection/stargazers |
|
8
watching | https://github.com/hantmac/Python-Interview-Customs-Collection/watchers |
|
83
forks | https://github.com/hantmac/Python-Interview-Customs-Collection/forks |
|
Report repository
| https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fhantmac%2FPython-Interview-Customs-Collection&report=hantmac+%28user%29 |
| Releases | https://github.com/hantmac/Python-Interview-Customs-Collection/releases |
| Packages
0 | https://github.com/users/hantmac/packages?repo_name=Python-Interview-Customs-Collection |
| Contributors
4 | https://github.com/hantmac/Python-Interview-Customs-Collection/graphs/contributors |
| Please reload this page | https://github.com/hantmac/Python-Interview-Customs-Collection |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |