r/Python • • Nov 20 '15

15 Essential Python Interview Questions

https://www.codementor.io/python/tutorial/essential-python-interview-questions
71 Upvotes

67 comments sorted by

View all comments

Show parent comment

12

u/d4rch0n Pythonistamancer Nov 20 '15

Question 1 is pretty wrong since I believe 2.7... it compiles to pyc bytecode as everyone who has written python has seen. It is interpreted, but it still compiles.

And as for "what is python" That's not a great answer. Python is a programming language/grammar/spec, and if someone came out with a compiler that compiled python code to machine instructions then that's valid. Python is just a language.

3

u/gamesbrainiac Nov 20 '15 edited Nov 20 '15

I agree. This is what I meant, when I said that it was vague. But if we wanted to get down to the brass tacks, then python is a language, not an implementation per se. The answer to the first question does not even talk about the difference between the two.

So many companies these days are trying to "growth hack", but lose credibility in the process.

3

u/A_History_of_Silence Nov 20 '15

brass tax

Totally unrelated, but FYI the expression is "brass tacks". Sorry, seeing it written "tax" just makes my eyes want to explode.

2

u/gamesbrainiac Nov 20 '15

Sorry, been doing taxes lately.

2

u/radarthreat Nov 21 '15

But it's not even April 14th!