This article doesn't have Python operating environment, but I want to make it work for the time being. It is an article for that. It is an environment construction.
I feel that there are as many similar articles as there are stars, but I will write them as a memo for myself.
A free editor provided by Microsoft. You can download it from the Official Site.
The reason for adopting VS Code is
is. This doesn't have to be VS Code if you like the editor.
When the exe file is downloaded, double-click it. After that, follow the dialog and click, and the installation will be completed in no time. (If you are not particular about it, the default is fine, but I think it is convenient to add Open with Code)
Anaconda seems to be packed with useful libraries, including python. I think it would be more convenient to include various items, so this time I would like to add this Anaconda instead of python alone.
Download from the Official Site.
The exe file for setup is also downloaded here, so double-click it and follow the procedure. After a while, various downloads will start. It takes a long time, so let's take a break.
When you can press Next, you're done! If you press it a little, it will finish.
--Open VSCode and press "Ctrl + Shift + x" to open the Extension search screen. --Enter Python in the search, search for the Python Extension, and click Install.
--Open a new file with "Ctrl + N"
--Write print ("Hello World! ")
--Use "Ctrl + S" to save it as hello.py
in a suitable location.
--Right click> Run Python File in Terminal.
--If Hello World!
Is output, you're done! Thank you for your hard work!
That's it.
Now that the environment is in place, I'll be writing python code from time to time ^^ Thank you for reading: bamboo:
Recommended Posts