{"id":4674,"date":"2024-09-25T12:23:29","date_gmt":"2024-09-25T11:23:29","guid":{"rendered":"https:\/\/ibex.tech\/python\/?p=4674"},"modified":"2024-09-25T12:23:30","modified_gmt":"2024-09-25T11:23:30","slug":"1-installing-visual-studio-code","status":"publish","type":"post","link":"https:\/\/ibex.tech\/python\/python-on-windows\/visual-studio-code\/1-installing-visual-studio-code","title":{"rendered":".1 Installing Visual Studio Code"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">Setup for VS Code Python programming<\/h4>\n\n\n\n<p>Install&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/ibex.tech\/python\/python-on-windows\/installing-python-in-windows\" target=\"_blank\">Python for Windows<\/a><\/p>\n\n\n\n<p>Reboot windows (so the correct environmental variables are picked up for python by VS code \u2013 we found was needed after adding \/ updating Python to a new version).<\/p>\n\n\n\n<p>In VS Code, add the \u201cPython extension for Visual Studio Code\u201d, just named \u201cPython\u201d.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Ensure VS Code knows where your Python install is<\/h5>\n\n\n\n<p>Open the Command Palette (Ctrl+Shift+P) and enter \u201cPython: Select Interpreter\u201d<br>Select the python you\u2019ve installed (e.g. \u201cC:\\Program Files\\Python312\\\u201d)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Setup for VS Code Python programming Install&nbsp;Python for Windows Reboot windows (so the correct environmental variables are picked up for python by VS code \u2013 we found was needed after adding \/ updating Python to a new version). In VS Code, add the \u201cPython extension for Visual Studio Code\u201d, just named \u201cPython\u201d. Ensure VS Code [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[370],"tags":[],"class_list":["post-4674","post","type-post","status-publish","format-standard","hentry","category-visual-studio-code"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/posts\/4674","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=4674"}],"version-history":[{"count":1,"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/posts\/4674\/revisions"}],"predecessor-version":[{"id":4675,"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/posts\/4674\/revisions\/4675"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/media?parent=4674"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/categories?post=4674"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/tags?post=4674"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}