{"id":10,"date":"2016-11-18T18:25:09","date_gmt":"2016-11-18T18:25:09","guid":{"rendered":"http:\/\/python.wp.w3.pt\/?p=10"},"modified":"2016-11-18T18:27:47","modified_gmt":"2016-11-18T18:27:47","slug":"linhas-logicas-e-fisicas","status":"publish","type":"post","link":"http:\/\/python.w3.pt\/?p=10","title":{"rendered":"Linhas l\u00f3gicas e f\u00edsicas"},"content":{"rendered":"<p>\u00c0 partida, no Python cada instru\u00e7\u00e3o ocupa uma linha. <\/p>\n<p>O Python distingue linhas f\u00edsicas de linha l\u00f3gicas. Uma linha l\u00f3gica \u00e9 uma linha de c\u00f3digo, que pode, em casos especiais, prolongar-se por v\u00e1rias linhas f\u00edsicas.<\/p>\n<p>Prolongamento expl\u00edcito: utiliza a barra invertida<\/p>\n<pre style=\"padding:7px;\">\r\nif 1900 < year < 2100 and 1 <= month <= 12 \\\r\n   and 1 <= day <= 31 and 0 <= hour < 24 \\\r\n   and 0 <= minute < 60 and 0 <= second < 60:   # A valid date\r\n        return 1\r\n<\/pre>\n<p>Prolongamento impl\u00edcito: express\u00f5es entre par\u00eantesis curvos, retos, ou chavetas.<\/p>\n<pre style=\"padding:7px;\">\r\nmonth_names = ['Januari', 'Februari', 'Maart',      # This is \r\n               'April',   'Mei',      'Juni',       # Dutch for\r\n               'Juli',    'Augustus', 'September',  # months of\r\n               'Oktober', 'November', 'December']   # the year\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u00c0 partida, no Python cada instru\u00e7\u00e3o ocupa uma linha. O Python distingue linhas f\u00edsicas de linha l\u00f3gicas. Uma linha l\u00f3gica \u00e9 uma linha de c\u00f3digo, que pode, em casos especiais, prolongar-se por v\u00e1rias linhas f\u00edsicas. Prolongamento expl\u00edcito: utiliza a barra invertida if 1900 < year < 2100 and 1\n<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/python.w3.pt\/index.php?rest_route=\/wp\/v2\/posts\/10"}],"collection":[{"href":"http:\/\/python.w3.pt\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/python.w3.pt\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/python.w3.pt\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/python.w3.pt\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10"}],"version-history":[{"count":5,"href":"http:\/\/python.w3.pt\/index.php?rest_route=\/wp\/v2\/posts\/10\/revisions"}],"predecessor-version":[{"id":15,"href":"http:\/\/python.w3.pt\/index.php?rest_route=\/wp\/v2\/posts\/10\/revisions\/15"}],"wp:attachment":[{"href":"http:\/\/python.w3.pt\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/python.w3.pt\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/python.w3.pt\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}