Posts

Showing posts from November, 2019

What's New About Python 3.8

Image
The  newest version of Python is released ! Python 3.8 has been available in beta versions since the summer, but on  October 14th, 2019  the first official version is ready. Now, we can all start playing with the new features and benefit from the latest improvements. What does Python 3.8 bring to the table? The  documentation  gives a good overview of the new features. However, this article will go more in depth on some of the biggest changes, and show you how you can take advantage of Python 3.8. In this article, you’ll learn about: Using assignment expressions to simplify some code constructs Enforcing positional-only arguments in your own functions Specifying more precise type hints Using f-strings for simpler debugging With a few exceptions, Python 3.8 contains many small improvements over the earlier versions. Towards the end of the article, you’ll see many of these less attention-grabbing changes, as well as a discussion about some of the optimizations that make Pyth