What sort of question to prepare for python interview?
Interviews vary wildly based on the role and industry so you won't get a good answer for types of questions.
The key to coding interviews is to talk openly about what you're thinking. Wondering whether something will work? Tell them you have a hunch and are testing a possible solution. Worried you're skipping too much good practice? Tell them what you'd normally do, eg "I'd usually put a docstring here but I'll skip those for an interview".
They're mostly trying to work out how you think and approach problems so keep a running monologue going.
More on reddit.comWhat should I expect in technical interview for a Python developer job
How about a senior engineer position?
More on reddit.comWhat can I expect from a Python developer technical interview?
Python Interview Questions
I don't like questions that test memorization. I don't work that way.
I've used most of the modules described quite a bit, but I couldn't necessarily tell you off the top of my head how to use any of them.
That came up in an interview once. The answer to the question involves me looking at pydoc and experimenting in the repl or shell for ~5 minutes. The whiteboard had neither.
More on reddit.com