Closed matheusfelipeog closed 3 years ago
If allowed, I can update everything to Python 3 syntax ;)
@matheusfelipeog Agreed, I think it's time to switch the Guide over to Python 3 🙂
If allowed, I can update everything to Python 3 syntax ;)
Well, that'd be amazing. If you want to put together a pull-request (or a series of PRs we can merge one by one) to make some of these updates that'd be great.
Right 😆
I will start the update soon.
I updated everything I found 😄
I made a pull request per updated section
Cheers @matheusfelipeog, I just merged those PRs :) Nice work.
Hi :)
Why use python 2 syntax in examples today? Since Python 2 has been discontinued in January 1, 2020.
Examples:
In many examples
print "string"
syntax is used.In "Create a length-N list of lists" is used:
instead:
Has a note stating the new syntax:
But is this really necessary today? Isn't it better to update everything to Python 3 syntax?