{"id":2679,"date":"2020-07-30T13:45:03","date_gmt":"2020-07-30T12:45:03","guid":{"rendered":"http:\/\/www.ihaz.codes\/UoB\/?page_id=2679"},"modified":"2020-07-30T14:02:37","modified_gmt":"2020-07-30T13:02:37","slug":"writing-to-a-file","status":"publish","type":"page","link":"https:\/\/www.ihaz.codes\/UoB\/learning-python\/file-handling\/writing-to-a-file\/","title":{"rendered":"Reading from a file"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">Learn<\/h1>\n\n\n\n<p>Reading from a file requires you to understand how files work. In this lesson you will learn about file handles, open, close and readline.<\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video<a href='https:\/\/www.ihaz.codes\/UoB\/learning-python\/file-handling\/writing-to-a-file\/'>[read more]<\/a>","protected":false},"excerpt":{"rendered":"<p>Learn Reading from a file requires you to understand how files work. In this lesson you will learn about file handles, open, close and readline. Try Write a program [read more]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":2677,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[],"class_list":["post-2679","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/pages\/2679","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/comments?post=2679"}],"version-history":[{"count":4,"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/pages\/2679\/revisions"}],"predecessor-version":[{"id":2685,"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/pages\/2679\/revisions\/2685"}],"up":[{"embeddable":true,"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/pages\/2677"}],"wp:attachment":[{"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/media?parent=2679"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/categories?post=2679"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}