What I'd like to know is, what things make Python the language it is: What features are different from other languages? What shall I avoid? What impresses people? I learnt the language but have had little feedback on any of my code.
These are the kind of things I'm looking for:
#To get a n-length array of 0s
[0]*n
#Get an attribute or return "Not Found"
dict.get(attr, "Not Found")
#Avoid subclassing multiple classes (even though it's possible)
class A(X, Y):
pass
It's a while since I picked up the "Beginning Python" book, with no formal teaching, even if it's the most obvious of things (to you) let me know! It's going to be a hard interview, I need all the prep I can get!

New Topic/Question
Reply




MultiQuote





|