{"id":452,"date":"2017-03-02T23:34:40","date_gmt":"2017-03-02T14:34:40","guid":{"rendered":"http:\/\/www.python.ambitious-engineer.com\/?p=452"},"modified":"2020-05-03T20:47:06","modified_gmt":"2020-05-03T11:47:06","slug":"__pycache__%e3%81%a8-pyc%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab","status":"publish","type":"post","link":"https:\/\/www.python.ambitious-engineer.com\/archives\/452","title":{"rendered":"__pycache__\u3068.pyc\u30d5\u30a1\u30a4\u30eb"},"content":{"rendered":"<p>\u3053\u306e\u30da\u30fc\u30b8\u3067\u306f\u30e2\u30b8\u30e5\u30fc\u30eb\u4f7f\u7528\u6642\u306b\u4f5c\u6210\u3055\u308c\u308b__pycache__\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3068.pyc\u30d5\u30a1\u30a4\u30eb\u306b\u3064\u3044\u3066\u88dc\u8db3\u3068\u3057\u3066\u89e3\u8aac\u3092\u3057\u307e\u3059\u3002<\/p>\n<h2>Python\u306e\u30d0\u30a4\u30c8\u30b3\u30fc\u30c9<\/h2>\n<p>\u81ea\u524d\u306ePython\u30e2\u30b8\u30e5\u30fc\u30eb\u3092import\u3059\u308b\u3068\u81ea\u52d5\u7684\u306b__pycache__\u3068\u3044\u3046\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u4f5c\u6210\u3055\u308c\u3001\u914d\u4e0b\u306b.pyc\u30d5\u30a1\u30a4\u30eb\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u306f\u5b9f\u884c\u6642\u306b\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u305f\u7d50\u679c\u306e\u30d0\u30a4\u30c8\u30b3\u30fc\u30c9\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u3067\u3059\u3002\u306a\u304a\u3001__pycache__\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u751f\u6210\u306fPython3.2\u4ee5\u964d\u306e\u4ed5\u69d8\u3067\u3001\u305d\u308c\u4ee5\u524d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u5834\u5408\u306f\u540c\u3058\u968e\u5c64\u306b.pyc\u30d5\u30a1\u30a4\u30eb\u304c\u914d\u7f6e\u3055\u308c\u307e\u3059\u3002<\/p>\n<h2>__pycache__\u3068.pyc\u30d5\u30a1\u30a4\u30eb\u3092\u751f\u6210\u3055\u305b\u306a\u3044<\/h2>\n<p>\u5b9f\u884c\u6642\u306bB\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6307\u5b9a\u3059\u308b\u3068\u3001\u3053\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u6a5f\u80fd\u3092OFF\u306b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001run.py\u3068\u3044\u3046\u540d\u524d\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3059\u308b\u5834\u5408\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\npython -B run.py\r\n<\/pre>\n<hr>\n[\u53c2\u8003\u30ea\u30f3\u30af]\n\u516c\u5f0f\u306e\u8aac\u660e\u30ea\u30f3\u30af\u3067\u3059\u3002<br \/>\n<a href=\"http:\/\/docs.python.jp\/3\/library\/py_compile.html?highlight=py_compile#module-py_compile\" rel=\"nofollow\">py_compile<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u30da\u30fc\u30b8\u3067\u306f\u30e2\u30b8\u30e5\u30fc\u30eb\u4f7f\u7528\u6642\u306b\u4f5c\u6210\u3055\u308c\u308b__pycache__\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3068.pyc\u30d5\u30a1\u30a4\u30eb\u306b\u3064\u3044\u3066\u88dc\u8db3\u3068\u3057\u3066\u89e3\u8aac\u3092\u3057\u307e\u3059\u3002 Python\u306e\u30d0\u30a4\u30c8\u30b3\u30fc\u30c9 \u81ea\u524d\u306ePython\u30e2\u30b8\u30e5\u30fc\u30eb\u3092import\u3059\u308b\u3068\u81ea\u52d5\u7684\u306b__py...<\/p>\n","protected":false},"author":1,"featured_media":3547,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[117],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.python.ambitious-engineer.com\/wp-json\/wp\/v2\/posts\/452"}],"collection":[{"href":"https:\/\/www.python.ambitious-engineer.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.python.ambitious-engineer.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.python.ambitious-engineer.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.python.ambitious-engineer.com\/wp-json\/wp\/v2\/comments?post=452"}],"version-history":[{"count":8,"href":"https:\/\/www.python.ambitious-engineer.com\/wp-json\/wp\/v2\/posts\/452\/revisions"}],"predecessor-version":[{"id":455,"href":"https:\/\/www.python.ambitious-engineer.com\/wp-json\/wp\/v2\/posts\/452\/revisions\/455"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.python.ambitious-engineer.com\/wp-json\/wp\/v2\/media\/3547"}],"wp:attachment":[{"href":"https:\/\/www.python.ambitious-engineer.com\/wp-json\/wp\/v2\/media?parent=452"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.python.ambitious-engineer.com\/wp-json\/wp\/v2\/categories?post=452"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.python.ambitious-engineer.com\/wp-json\/wp\/v2\/tags?post=452"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}