{"id":4067,"date":"2022-01-26T12:31:28","date_gmt":"2022-01-26T12:31:28","guid":{"rendered":"https:\/\/ibex.tech\/python\/?p=4067"},"modified":"2025-05-15T12:50:09","modified_gmt":"2025-05-15T11:50:09","slug":"comments-3","status":"publish","type":"post","link":"https:\/\/ibex.tech\/python\/comments\/comments-3","title":{"rendered":".Comments"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code>#This is a comment<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Comment out multiple lines<\/h4>\n\n\n\n<p>There is no block commenting in Python (an equivalent for \/* *\/ in C).&nbsp;<\/p>\n\n\n\n<p>In VSCode, select the lines and use &#8216;CTRL&#8217;+&#8217;\/&#8217; to comment and uncomment the block<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Comment blocks using triple quotes<\/h4>\n\n\n\n<p>Not officially comments according to Python spec, but often used as a handy way to create multiline comments:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>    \"\"\"\n    Here is a multiline comment\n\n    Some things:\n        Another line\n        and more\n    \"\"\"<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Comment out multiple lines There is no block commenting in Python (an equivalent for \/* *\/ in C).&nbsp; In VSCode, select the lines and use &#8216;CTRL&#8217;+&#8217;\/&#8217; to comment and uncomment the block Comment blocks using triple quotes Not officially comments according to Python spec, but often used as a handy way to create multiline comments:<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[318],"tags":[],"class_list":["post-4067","post","type-post","status-publish","format-standard","hentry","category-comments"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/posts\/4067","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/comments?post=4067"}],"version-history":[{"count":6,"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/posts\/4067\/revisions"}],"predecessor-version":[{"id":4935,"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/posts\/4067\/revisions\/4935"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/media?parent=4067"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/categories?post=4067"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/tags?post=4067"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}