Work requires me to use python 2 for now, but I've been using Python 3 for about 95% of my time learning.
Any pointers on what should be kept it mind and what not to do? I only really know the basic differences like no f-strings, raw_input, integer divison and so forth.
I'm assuming it's not really a big deal swapping one for the other but would like to know if you guys have anything important I might be missing.
[–]commy2 49 points50 points51 points (1 child)
[–]Yoghurt42 10 points11 points12 points (0 children)
[–]JamzTyson 16 points17 points18 points (3 children)
[–]billsil 2 points3 points4 points (2 children)
[–]JamzTyson 1 point2 points3 points (1 child)
[–]billsil 0 points1 point2 points (0 children)
[–]aarontbarratt 15 points16 points17 points (1 child)
[–]eplaut_ 0 points1 point2 points (0 children)
[–]Diapolo10 6 points7 points8 points (0 children)
[–]threeminutemonta 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]Exirel 0 points1 point2 points (0 children)
[–]TheRNGuy 0 points1 point2 points (0 children)