{"id":633,"date":"2004-10-17T09:51:54","date_gmt":"2004-10-17T14:51:54","guid":{"rendered":"http:\/\/blogs.terrorware.com\/geoff\/2004\/10\/17\/howto-syntax-checking-python\/"},"modified":"2004-10-17T09:51:54","modified_gmt":"2004-10-17T14:51:54","slug":"howto-syntax-checking-python","status":"publish","type":"post","link":"http:\/\/blogs.terrorware.com\/geoff\/2004\/10\/17\/howto-syntax-checking-python\/","title":{"rendered":"howto: syntax checking python"},"content":{"rendered":"<p>from <a href=\"http:\/\/mail.python.org\/pipermail\/python-list\/2003-February\/143162.html\">http:\/\/mail.python.org\/pipermail\/python-list\/2003-February\/143162.html<\/a>:<\/p>\n<blockquote>\n<pre>\n&gt;&gt;&gt; import py_compile\n&gt;&gt;&gt; py_compile.compile(\"t.py\")\n File \"t.py\", line 1\n     print \"asdf\" +\n                   ^\nSyntaxError: invalid syntax\n<\/pre>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>from http:\/\/mail.python.org\/pipermail\/python-list\/2003-February\/143162.html: &gt;&gt;&gt; import py_compile &gt;&gt;&gt; py_compile.compile(&#8220;t.py&#8221;) File &#8220;t.py&#8221;, line 1 print &#8220;asdf&#8221; + ^ SyntaxError: invalid syntax<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_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","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-633","post","type-post","status-publish","format-standard","hentry","category-uncategorized","entry"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4wnIz-ad","_links":{"self":[{"href":"http:\/\/blogs.terrorware.com\/geoff\/wp-json\/wp\/v2\/posts\/633","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blogs.terrorware.com\/geoff\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blogs.terrorware.com\/geoff\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blogs.terrorware.com\/geoff\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"http:\/\/blogs.terrorware.com\/geoff\/wp-json\/wp\/v2\/comments?post=633"}],"version-history":[{"count":0,"href":"http:\/\/blogs.terrorware.com\/geoff\/wp-json\/wp\/v2\/posts\/633\/revisions"}],"wp:attachment":[{"href":"http:\/\/blogs.terrorware.com\/geoff\/wp-json\/wp\/v2\/media?parent=633"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blogs.terrorware.com\/geoff\/wp-json\/wp\/v2\/categories?post=633"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blogs.terrorware.com\/geoff\/wp-json\/wp\/v2\/tags?post=633"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}