{"id":58048,"date":"2021-07-12T09:01:31","date_gmt":"2021-07-12T09:01:31","guid":{"rendered":"https:\/\/www.cryptocabaret.com\/?p=58048"},"modified":"2021-07-12T09:01:31","modified_gmt":"2021-07-12T09:01:31","slug":"reading-and-writing-files-with-python","status":"publish","type":"post","link":"https:\/\/www.cryptocabaret.com\/?p=58048","title":{"rendered":"Reading and writing files with Python"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" typeof=\"foaf:Image\" src=\"https:\/\/www.cryptocabaret.com\/wp-content\/uploads\/2021\/07\/python-programming-code-keyboard.png\" width=\"520\" height=\"292\" alt=\"Hands on a keyboard with a Python book \" title=\"Hands on a keyboard with a Python book \"><\/p>\n<p>Some data is meant to be temporary, stored in RAM while an application is running, and then forgotten. Some data, however, is meant to be persistent. It&#8217;s stored on a hard drive for later use, and it&#8217;s often the stuff that a user cares about the most. For programmers, it&#8217;s very common to write code to read and write files, but every language handles this task a little differently. This article demonstrates how to handle data files with Python.<\/p>\n<p><a href=\"https:\/\/opensource.com\/article\/21\/7\/read-write-files-python\">read more<\/a><\/p>\n<p class=\"wpematico_credit\"><small>Powered by <a href=\"http:\/\/www.wpematico.com\" target=\"_blank\" rel=\"noopener\">WPeMatico<\/a><\/small><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Some data is meant to be temporary, stored in RAM while an application is running, and then forgotten. Some data, however, is meant to be persistent. It&#8217;s stored on a hard drive for later use, and it&#8217;s often the stuff that a user cares about the most. For programmers, it&#8217;s very common to write code [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":58049,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[307],"tags":[],"class_list":["post-58048","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-open-source"],"_links":{"self":[{"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=\/wp\/v2\/posts\/58048","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=58048"}],"version-history":[{"count":0,"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=\/wp\/v2\/posts\/58048\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=\/wp\/v2\/media\/58049"}],"wp:attachment":[{"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=58048"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=58048"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=58048"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}