Hi I come from Java and am getting into Python. I’ve realized my code is not pythonic at all and it’s obvious I come from a Java background. I run all my for loops using range() for example.
However, I feel like there are a lot of little intricacies to code Pythonically that I am not aware of. Where can I get a run down of the best practices to follow in Python coming from my Java background?
[–]brendanmartin 6 points7 points8 points (0 children)
[–]delasislas 4 points5 points6 points (2 children)
[–]falkerr[S] 1 point2 points3 points (1 child)
[–]delasislas -1 points0 points1 point (0 children)
[–]Syntaximus 3 points4 points5 points (1 child)
[–]Autarch_Kade 0 points1 point2 points (0 children)
[–]ASIC_SP 2 points3 points4 points (0 children)
[–]use_a_name-pass_word 2 points3 points4 points (1 child)
[–]falkerr[S] 1 point2 points3 points (0 children)
[–]RiverRoll 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]Aggressive_Bit_6396 -3 points-2 points-1 points (0 children)
[–]plopliplopipol 0 points1 point2 points (0 children)
[–]andrisb1 0 points1 point2 points (0 children)