{"id":144534,"date":"2019-06-12T18:00:00","date_gmt":"2019-06-12T10:00:00","guid":{"rendered":"http:\/\/itteacheritfreelance.hk\/test\/wordpress\/?guid=a91e2100c4d2afbdae18977573a54f2c"},"modified":"2019-06-12T18:00:00","modified_gmt":"2019-06-12T10:00:00","slug":"the-best-new-features-in-python-3-8","status":"publish","type":"post","link":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/2019\/06\/12\/the-best-new-features-in-python-3-8\/","title":{"rendered":"The best new features in Python 3.8"},"content":{"rendered":"<p>Python 3.8 is the latest version of the popular language for everything from scripting and automation to machine learning and web development.\u00a0Now available in an official beta release, Python 3.8 brings a number of slick syntax changes, memory sharing, more efficient serialization and deserialization, revamped dictionaries, and much more.<\/p>\n<p>Naturally, Python 3.8 ushers in all manner of performance improvements as well. The overall result is a faster, more concise, more consistent, and more modern Python.\u00a0Here\u2019s what\u2019s new and most significant in Python 3.8.<\/p>\n<aside class=\"fakesidebar\"><strong>[ The essentials from InfoWorld: <a href=\"https:\/\/www.infoworld.com\/article\/3245814\/get-started-with-anaconda-the-python-distribution-for-data-science.html\">Get started with Anaconda, the Python distribution for data science<\/a>. \u2022 <a href=\"https:\/\/www.infoworld.com\/article\/3235218\/whats-new-in-the-anaconda-distribution-for-python.html\">What\u2019s new in the Anaconda distribution for Python<\/a>. \u2022 <a href=\"https:\/\/www.infoworld.com\/article\/3233250\/5-essential-python-tools-for-data-sciencenow-improved.html\">5 essential Python tools for data science\u2014now improved<\/a>. | Keep up with hot topics in programming with InfoWorld\u2019s <a href=\"https:\/\/www.infoworld.com\/newsletters\/signup.html\">App Dev Report newsletter<\/a>. ]<\/strong><\/aside>\n<h2 class=\"toc\">Assignment expressions\u00a0<\/h2>\n<p>The single most visible change in Python 3.8 is\u00a0<a href=\"https:\/\/www.python.org\/dev\/peps\/pep-0572\/\" rel=\"nofollow\">assignment expressions<\/a>, which use what is known as the walrus operator (\u00a0<code>:=<\/code>\u00a0). Assignment expressions allow a value to be assigned to a variable, even a variable that doesn\u2019t exist yet, in the context of an expression rather than as a stand-alone statement.<\/p>\n<p class=\"jumpTag\"><a href=\"https:\/\/www.javaworld.com\/article\/3400640\/the-best-new-features-in-python-38.html#jump\">To read this article in full, please click here<\/a><\/p>\n<\/section>\n<\/article>\n<p>(Insider Story)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Python 3.8 is the latest version of the popular language for everything from scripting and automation to machine learning and web development.&nbsp;Now available in an official beta release, Python 3.8 brings a number of slick syntax changes, memory sharing, more efficient serialization and deserialization, revamped dictionaries, and much more.<\/p>\n<p>Naturally, Python 3.8 ushers in all manner of performance improvements as well. The overall result is a faster, more concise, more consistent, and more modern Python.&nbsp;Here&rsquo;s what&rsquo;s new and most significant in Python 3.8.<\/p>\n<aside><strong>[ The essentials from InfoWorld: <a href=\"https:\/\/www.infoworld.com\/article\/3245814\/get-started-with-anaconda-the-python-distribution-for-data-science.html\">Get started with Anaconda, the Python distribution for data science<\/a>. &bull; <a href=\"https:\/\/www.infoworld.com\/article\/3235218\/whats-new-in-the-anaconda-distribution-for-python.html\">What&rsquo;s new in the Anaconda distribution for Python<\/a>. &bull; <a href=\"https:\/\/www.infoworld.com\/article\/3233250\/5-essential-python-tools-for-data-sciencenow-improved.html\">5 essential Python tools for data science&mdash;now improved<\/a>. | Keep up with hot topics in programming with InfoWorld&rsquo;s <a href=\"https:\/\/www.infoworld.com\/newsletters\/signup.html\">App Dev Report newsletter<\/a>. ]<\/strong><\/aside>\n<h2>Assignment expressions&nbsp;<\/h2>\n<p>The single most visible change in Python 3.8 is&nbsp;<a href=\"https:\/\/www.python.org\/dev\/peps\/pep-0572\/\" rel=\"nofollow\">assignment expressions<\/a>, which use what is known as the walrus operator (&nbsp;<code>:=<\/code>&nbsp;). Assignment expressions allow a value to be assigned to a variable, even a variable that doesn&rsquo;t exist yet, in the context of an expression rather than as a stand-alone statement.<\/p>\n<p><a href=\"https:\/\/www.javaworld.com\/article\/3400640\/the-best-new-features-in-python-38.html#jump\">To read this article in full, please click here<\/a><\/p>\n<p>(Insider Story) <a href=\"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/2019\/06\/12\/the-best-new-features-in-python-3-8\/\">\u95b1\u8b80\u5168\u6587 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":168,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"slim_seo":[],"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[451,2,7],"tags":[398,402,397,414,413,410,409,407,408,406,399,400,394,318,558,560,555,561,566,553,554,586,585,563,562,183,567,524,10,401,396,403,412,411,395,405,404,457,454,319,316],"jetpack_publicize_connections":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p7prtj-BBc","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/posts\/144534"}],"collection":[{"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/users\/168"}],"replies":[{"embeddable":true,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/comments?post=144534"}],"version-history":[{"count":0,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/posts\/144534\/revisions"}],"wp:attachment":[{"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/media?parent=144534"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/categories?post=144534"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/tags?post=144534"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}