This article is pure and wild , There is no reference to other people's articles or plagiarism . Insist on originality !!
Preface
This is not the so-called python Reptile interview questions 170 Avenue , Neither python Reptile interview questions 100 Avenue , Here's the question I was asked during the interview , While there are still some impressions , Write it down .
The epidemic is not over , But learning can't stop . Share the interview questions , Those who need to change jobs can learn ...
Some people may think this interview question is too simple ? Maybe I made it up . It's not , This is really several interview questions , As for why it's so easy ? Um. ... It's because I'm too busy , So the difficulty of the interview is that there is no difficulty for you .
Okay !!! End of bullshit , Here is the main point .
Interview questions ( interview + written examination )
Don't do it here interview And written examination The distinction between , I sort them into small pieces , Namely
1. Python Basics
2. Reptile base
3. other
Because of the lack of personal knowledge reserve , In order to avoid mistakes , Only interview questions are shared here , The answer needs to be answered by yourself
1. Python Basics
Talk about what you know Python Shallow copy And Deep copy Application scenarios of
You know, Python Of GIL Do you ? Talk about your understanding of it ?
You know, Git Do you ? its pull and push What's the difference ?
What is your common database ?( I answered. Mysql) 4.1 Mysql what are you having? engine ?
Talk about Python Decorator The role of ?
use Python Code a singleton pattern .
Talk to you about Threads And process 、 coroutines The understanding of the ?
Talk about yield How keywords work .
Talk about Python generator 、 iterator 、 Iteratable object Application scenarios of .
From the following string . Use regular expressions to extract all links inside .