{"id":17280,"date":"2024-05-07T16:18:37","date_gmt":"2024-05-07T08:18:37","guid":{"rendered":"https:\/\/www.bookcard.net\/wordpress\/?p=17280"},"modified":"2024-05-21T16:33:10","modified_gmt":"2024-05-21T08:33:10","slug":"python","status":"publish","type":"post","link":"https:\/\/www.bookcard.net\/wordpress\/python\/","title":{"rendered":"Python\u4e0b\u8f09\u5b89\u88dd"},"content":{"rendered":"<figure id=\"attachment_17282\" aria-describedby=\"caption-attachment-17282\" style=\"width: 1280px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2024\/05\/Python.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-17282\" src=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2024\/05\/Python.jpg\" alt=\"Python\u4e0b\u8f09\u5b89\u88dd\" width=\"1280\" height=\"800\" srcset=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2024\/05\/Python.jpg 1280w, https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2024\/05\/Python-300x188.jpg 300w, https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2024\/05\/Python-768x480.jpg 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/a><figcaption id=\"caption-attachment-17282\" class=\"wp-caption-text\">Python\u4e0b\u8f09\u5b89\u88dd<\/figcaption><\/figure>\n<figure id=\"attachment_17286\" aria-describedby=\"caption-attachment-17286\" style=\"width: 1280px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2024\/05\/Python_.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-17286\" src=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2024\/05\/Python_.jpg\" alt=\"Python\u4e0b\u8f09\u5b89\u88c5\" width=\"1280\" height=\"800\" srcset=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2024\/05\/Python_.jpg 1280w, https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2024\/05\/Python_-300x188.jpg 300w, https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2024\/05\/Python_-768x480.jpg 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/a><figcaption id=\"caption-attachment-17286\" class=\"wp-caption-text\">Python\u4e0b\u8f09\u5b89\u88c5<\/figcaption><\/figure>\n<figure id=\"attachment_17285\" aria-describedby=\"caption-attachment-17285\" style=\"width: 1280px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2024\/05\/Python__.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-17285\" src=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2024\/05\/Python__.jpg\" alt=\"Python\u4e0b\u8f09\u5b89\u88c5\" width=\"1280\" height=\"800\" srcset=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2024\/05\/Python__.jpg 1280w, https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2024\/05\/Python__-300x188.jpg 300w, https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2024\/05\/Python__-768x480.jpg 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/a><figcaption id=\"caption-attachment-17285\" class=\"wp-caption-text\">Python\u4e0b\u8f09\u5b89\u88c5<\/figcaption><\/figure>\n<figure id=\"attachment_17297\" aria-describedby=\"caption-attachment-17297\" style=\"width: 1280px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2024\/05\/Python___.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-17297\" src=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2024\/05\/Python___.jpg\" alt=\"Python\u4e0b\u8f09\u5b89\u88dd\" width=\"1280\" height=\"800\" srcset=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2024\/05\/Python___.jpg 1280w, https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2024\/05\/Python___-300x188.jpg 300w, https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2024\/05\/Python___-768x480.jpg 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/a><figcaption id=\"caption-attachment-17297\" class=\"wp-caption-text\">Python\u4e0b\u8f09\u5b89\u88dd<\/figcaption><\/figure>\n<figure id=\"attachment_17296\" aria-describedby=\"caption-attachment-17296\" style=\"width: 1280px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2024\/05\/Python____.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-17296\" src=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2024\/05\/Python____.jpg\" alt=\"Python\u4e0b\u8f09\u5b89\u88dd\" width=\"1280\" height=\"800\" srcset=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2024\/05\/Python____.jpg 1280w, https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2024\/05\/Python____-300x188.jpg 300w, https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2024\/05\/Python____-768x480.jpg 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/a><figcaption id=\"caption-attachment-17296\" class=\"wp-caption-text\">Python\u4e0b\u8f09\u5b89\u88dd<\/figcaption><\/figure>\n<p>\u300e<a href=\"https:\/\/www.python.org\/\">Python<\/a>\u300f\u5176\u5be6\u4fc2\u300e\u865b\u64ec\u6a5f\u300f, \u5148\u88dd\u300e.py\u300f\u6e90\u78bc\u7de8\u8b6f\u70ba\u5b57\u7bc0\u78bc\u300e.pyc\u300f. \u300e<a href=\"https:\/\/www.python.org\/\">Python<\/a>\u865b\u64ec\u6a5f\u300f\u518d\u57f7\u884c\u300e<a href=\"https:\/\/www.python.org\/\">Python<\/a>\u5b57\u7bc0\u78bc\u300f. \u540c\u300ejava\u300f\u58f9\u6a23.<\/p>\n<p>\u767b\u5165\u300e<a href=\"https:\/\/www.python.org\/\">Python<\/a>\u300f\u5b98\u7db2\u300e<a href=\"https:\/\/www.python.org\/\">https:\/\/www.python.org\/<\/a>\u300f.<\/p>\n<ol>\n<li>Stable Diffusion\u9700\u4e0b\u8f0910.6\u7248\u4fc2\u300e<a href=\"https:\/\/www.python.org\/ftp\/python\/3.10.6\/python-3.10.6-amd64.exe\">python-3.10.6-amd64.exe<\/a>\u300f<\/li>\n<li>\u52fe\u300eUse admin privileges when installing py.exe\u300f\u7ba1\u7406\u5e33\u865f\u5b89\u88c5\u7a0b\u5f0f<\/li>\n<li>\u52fe\u300eAdd python.exe to PATH\u300f\u5c06\u8def\u5f91\u52a0\u5165\u300e\u74b0\u5883\u8b8a\u91cf\u300f<\/li>\n<li>\u64b3\u300eCustomize installation\u300f\u5b9a\u5236\u5b89\u88c5.<\/li>\n<li>\u300eOptional features\u300f\u9078\u9805<\/li>\n<\/ol>\n<table>\n<tbody>\n<tr>\n<td width=\"274\">Documentation<\/td>\n<td width=\"279\">\u6587\u6a94<\/td>\n<\/tr>\n<tr>\n<td width=\"274\">Pip<\/td>\n<td width=\"279\">(\u5fc5\u63c0)\u4e0b\u8f09\u548c\u7ba1\u7406python\u5305<\/td>\n<\/tr>\n<tr>\n<td width=\"274\">Tcl\/tk and IDLE<\/td>\n<td width=\"279\">\u88ddIDLE\u5305<\/td>\n<\/tr>\n<tr>\n<td width=\"274\">Python test suite<\/td>\n<td width=\"279\">\u88dd\u6e2c\u8a66\u5305<\/td>\n<\/tr>\n<tr>\n<td width=\"274\">Py launcher For all users(requires admin privileges)<\/td>\n<td width=\"279\">\u88dd\u2018py\u2019\u555f\u52d5\u7a0b\u5f0f<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ol start=\"6\">\n<li>\u300eAdvanced Optionsa\u300f\u9ad8\u7ea7\u9078\u9805<\/li>\n<\/ol>\n<table>\n<tbody>\n<tr>\n<td width=\"277\">Install python 3.12 for all users<\/td>\n<td width=\"277\">\u519a\u8fa6\u95cc\u5e33\u865f\u88ddpython\u7a0b\u5f0f<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">Associate files with python(requires the \u2018py\u2019 launcher)<\/td>\n<td width=\"277\">\u95dc\u806f\u2018py\u2019\u6587\u6a94<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">Create shortcuts for installed applications<\/td>\n<td width=\"277\">\u5236\u4f5cpython\u6377\u5f91\u6a94<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">Add Python to environment variables<\/td>\n<td width=\"277\">\u5c07Python\u8def\u5f91\u6dfb\u52a0\u5230\u74b0\u5883\u8b8a\u91cf<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">Precompile standard library<\/td>\n<td width=\"277\">\u9810\u7de8\u8b6f\u6a19\u6e96\u5eab<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">Download debugging symbols<\/td>\n<td width=\"277\">\u4e0b\u8f09\u8abf\u8a66\u7b26\u865f<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">Download debug binaries(requires VS 2017 or later)<\/td>\n<td width=\"277\">\u4e0b\u8f09\u8abf\u8a66\u5eab<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ol start=\"7\">\n<li>\u300e\u74b0\u5883\u8b8a\u91cf\u300f-&gt;\u300e\u7cfb\u7d71\u8b8a\u91cf\u300f-&gt;\u300ePath\u300f<\/li>\n<li>\u64b3\u300e\u65b0\u589e\u300f\u5206\u522b\u52a0\u5165.<\/li>\n<\/ol>\n<table>\n<tbody>\n<tr>\n<td width=\"553\">C:\\Users\\bookc\\AppData\\Roaming\\Python\\Python310\\<\/td>\n<\/tr>\n<tr>\n<td width=\"553\">C:\\Users\\bookc\\AppData\\Roaming\\Python\\Python310\\Scripts\\<\/td>\n<\/tr>\n<tr>\n<td width=\"553\">C:\\Users\\bookc\\AppData\\Roaming\\Python\\Python310\\site-packages\\<\/td>\n<\/tr>\n<tr>\n<td width=\"553\">C:\\Program Files\\Python310\\Scripts\\<\/td>\n<\/tr>\n<tr>\n<td width=\"553\">C:\\Program Files\\Python310\\<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>\u6aa2\u67e5\u6700\u65b0\u7248pip\u6642\u51fa\u932f.<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"553\">WARNING:There was an error checking the latest version of pip.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u9700\u624b\u52d5\u5347\u7d1apip\u81f3\u6700\u65b0\u7248.<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"553\">python -m pip install &#8211;upgrade pip<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"553\"><a href=\"https:\/\/www.python.org\/\">https:\/\/www.python.org\/<\/a><\/td>\n<\/tr>\n<tr>\n<td width=\"553\"><a href=\"https:\/\/www.python.org\/downloads\/windows\/\">https:\/\/www.python.org\/downloads\/windows\/<\/a><\/td>\n<\/tr>\n<tr>\n<td width=\"553\"><a href=\"https:\/\/www.python.org\/ftp\/python\/3.10.6\/python-3.10.6-amd64.exe\">https:\/\/www.python.org\/ftp\/python\/3.10.6\/python-3.10.6-amd64.exe<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u300ePython\u300f\u5176\u5be6\u4fc2\u300e\u865b\u64ec\u6a5f\u300f, \u5148\u88dd\u300e.py\u300f\u6e90\u78bc\u7de8\u8b6f\u70ba\u5b57\u7bc0\u78bc\u300e.pyc\u300f. \u300ePython\u865b\u64ec\u6a5f\u300f\u518d\u57f7\u884c &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.bookcard.net\/wordpress\/python\/\" class=\"more-link\">\u7e7c\u7e8c\u95b1\u8b80 <span class=\"screen-reader-text\">Python\u4e0b\u8f09\u5b89\u88dd<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[51,13],"tags":[3,42],"class_list":["post-17280","post","type-post","status-publish","format-standard","hentry","category-windows","category-pc","tag-windows","tag-computer","entry"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/posts\/17280","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/comments?post=17280"}],"version-history":[{"count":9,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/posts\/17280\/revisions"}],"predecessor-version":[{"id":17333,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/posts\/17280\/revisions\/17333"}],"wp:attachment":[{"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/media?parent=17280"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/categories?post=17280"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/tags?post=17280"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}