First of all, this is it. Outputs Hello world. This is an article like this, but I want to do my best to post one post a day.
- Windows10 - corei5 -The editor is Visual Studio Code introduced from Anaconda
First, start Anaconda. As I just learned, you can take a screenshot ** by pressing ** shift + Windows key + s ** to make a ** range. Moreover, you can copy and paste as it is. Convenient. Start VS Code at the bottom left. Vscode has started. The code has already been written, but for the time being, I will go as it is for memorandum. Select the working folder in the upper left (the name is arbitrary. This time it is for qiita). If there is no folder, click the create folder icon to create any working folder. Then click the create file icon to create a file called "hello.py". If the extension is .py, it will be a file for Python. I tried to process the image a little. I am processing with PowerPoint. The file has been created. The right part is the code input area. Enter the code as shown below. By the way, when inputting qiita with Markdown, if you insert the code as below, you need to enclose the code with back quotes. In case of Windows, you can enter back quotes with shift + @.
hello.py
print("hello world")
I will execute it in the future, but it can not be executed unless it is saved once, so let's save it with Ctrl + s. This is important. Now it's time to run. To run it, click Run python file in the upper right terminal. Then, the execution result is displayed in the lower right terminal. There is a sense of accomplishment.
Recommended Posts