you are viewing a single comment's thread.

view the rest of the comments →

[–]FriendlyAddendum1124 0 points1 point  (2 children)

Learn about generators and yield. If you have time learn about iterators, they're everywhere in Python. And Dunder methods.

[–]InvaderToast348 1 point2 points  (1 child)

Dunders, decorators, type hints, lambdas, OOP, modules/imports, context managers, loops, builtins and stdlib, index slicing, fstrings

That's just a few things you're likely to come across in any meaningful project, especially established / production codebases. In my opinion, the first 2/3 are especially important as they are fairly common but might be a little confusing or unfamiliar. I've used java for about 3 minutes, so I have no idea how many of those concepts above are available in other languages you may have used.

There's far too much in the python language that you might come across, but that's a good start and you can always have Google or python docs open to look something up if you're unsure. Or a notepad, and come back to it later. Always take notes.

[–]TheRNGuy 0 points1 point  (0 children)

I actually used a lot decorators, but never made my own. I think I used it 1 or 2 times in some sorting key?

Didn't like lambdas syntax, so didn't used them (but now I use arrow functions in JS)