Python 3.7 beta preview | SoloLearn: Learn to code for FREE!

+271

Python 3.7 beta preview

Just a BTW, you can download and run Python 3.7.0b1, the first of four planned beta release previews, here https://www.python.org/downloads/release/python-370b1/. The new features in Python 3.7 compared to 3.6 are explained here https://docs.python.org/dev/whatsnew/3.7.html Edit: March 28, 2018 Python 3.6.5 is out https://www.python.org/downloads/release/python-365/ For discussion on the previous stable release, see https://www.sololearn.com/Discuss/942832 [Edit] Now see https://www.sololearn.com/post/648177

3/18/2018 7:34:54 AM

David Ashton

165 Answers

New Answer

+108

The new @dataclass decorator makes instantiating data classes really easier in 3.7! @dataclass class User(): name: str user_id: int just_joined: bool=True ...instead of the common style: class User(): def __init__(self, name, user_id, just_joined=True): self.name = name self.id = user_id self.just_joined = just_joined A summary of the most significant updates: https://www.infoworld.com/article/3252852/python/whats-new-in-python-37.html

+46

thanks for share 😃 👍

+44

thank you very much for this information 👍😉

+39

+37

Thank you for the information! Can't wait until the full release of 3.7.0.

+34

Never Give up. Doesnt matter how hard times will get, keep on going. I almost stopped python because of really hard math operations at the end, but I kept on going. I basically didn't learn them, I knew i wouldn never need them. I have made big projects, and haven't used those hard math operations in ONE of them. So what I wanted to say is coding is fun. Sorry for making this too long to read hahah. Another tip is dont forget the Indent.

+31

thanks for sharing with us 😊😊

+30

I Still Miss The @static_method But It's Good To Here About This One Thanks For The Info :)

+27

Great information 👏👏..thanks

+27

thanks for share

+26

🌠🌠 nice information thank you for sharing with us!!

+25

thanks for this news.. appreciate it 👍👍

+25

For those who are still stuck in the almost-outdated Python 2.7, I'd recommend you to hurry up and make the switch to the new Python 3. I am so excited for the new features!!!

+24

Growing Python 😃

+22

thanks for share

+22

ccooollll

+21

+21

Python, growing older than me. Congrats to my first programming language.

+20

Thanks for the information.

+20

it's very easy to understand and code in Python 3.7 console