Environment construction procedure for programming experience sessions. A basic environment for experiencing Python.
OS: Windows10
Python
https://www.python.org/
Run the downloaded file to start the installation.
Be sure to check the "Add Python 3.9 to PATH" section at the bottom.
The installation will proceed like this.
If this screen appears, the installation is successful.
Enter cmd
in the" Enter here to search "in the lower left corner of Windows.
Select the displayed "Command Prompt".
Type python --version
at the command prompt and press Enter. If you see the following, you are successful.
Python 3.9.0
https://atom.io/
Run the downloaded file to start the installation.
A picture like this will appear. It will take some time.
If successful, this screen will be displayed.
When you press the "Alt" key, a menu will appear, so select "Add Project Folder".
Create a folder in any location and press "Select Folder".
Did it look like this?
Python Helloworld
Right-click on the folder icon and select "New File".
After entering the name of the program file (source code), press the Enter key.
Let's write a program.
Program to write to file
print('hello!! world!!')
Copy the location (path) where the program files are located.
Paste it in the form cd path
at the command prompt and press Enter. Please leave a space between cd and path.
:
and press the Enter key.
Let's run the program.
python hello.py
Recommended Posts