From building a Python environment for inexperienced people to Hello world

Environment construction procedure for programming experience sessions. A basic environment for experiencing Python.

Premise

OS: Windows10

environment

Python

download

https://www.python.org/

image.png

image.png

Installation

Run the downloaded file to start the installation. image.png

Be sure to check the "Add Python 3.9 to PATH" section at the bottom. image.png

The installation will proceed like this. image.png

If this screen appears, the installation is successful. image.png

Check if it was installed

Enter cmd in the" Enter here to search "in the lower left corner of Windows. image.png

Select the displayed "Command Prompt". image.png

Type python --version at the command prompt and press Enter. If you see the following, you are successful.

Python 3.9.0

image.png

Atom (text editor)

download

https://atom.io/

image.png

Installation

Run the downloaded file to start the installation.

image.png

A picture like this will appear. It will take some time. image.png

If successful, this screen will be displayed. image.png

When you press the "Alt" key, a menu will appear, so select "Add Project Folder". image.png

Create a folder in any location and press "Select Folder". image.png

Did it look like this? image.png

Python Helloworld

Right-click on the folder icon and select "New File". image.png

After entering the name of the program file (source code), press the Enter key. image.png

Let's write a program. image.png

Program to write to file


print('hello!! world!!')

Copy the location (path) where the program files are located. image.png

Paste it in the form cd path at the command prompt and press Enter. Please leave a space between cd and path.

Let's run the program.

python hello.py

image.png

Recommended Posts

From building a Python environment for inexperienced people to Hello world
Summary from building Python 3.4. * From source to building a scientific computing environment
From setting up a Rust environment to running Hello World
[Mac] Building a virtual environment for Python
Building a Python development environment for AI development
From installing Ansible to building a Python environment in Vagrant's virtual environment
Everything from building a Python environment to running it on Windows
From Kivy environment construction to displaying Hello World
Building a virtual environment for Mayavi dedicated to Python 3.6, Anaconda, Spyder users
Building a Python environment for pyenv, pyenv-virtualenv, Anaconda (Miniconda)
Notes from installing Homebrew to building an Anaconda environment for Python with pyenv
Building a Docker working environment for R and Python
Building a Python virtual environment
Procedure for building a CDK environment on Windows (Python)
Building a Python environment for programming beginners (Mac OS)
Building a Python virtual environment
Memo for building a machine learning environment using Python
Building a python environment for artificial intelligence (Chainer / TensorFlow / CSLAIER)
Building a development environment for Android apps-creating Android apps in Python
Building a Hy environment for Lisper who hasn't touched Python
[Python] Building a virtual python environment for the pyramid tutorial (summary)
Building a Python environment on Mac
Building a Python environment on Ubuntu
Building a virtual environment with Python 3
Python #Hello World for super beginners
The shortest memo for building a python environment that takes less than 5 minutes to work.
Building a Docker working environment for R and Python 2: Japanese support
How about Anaconda for building a machine learning environment in Python?
Building a Windows 7 environment for getting started with machine learning with Python
[Pyenv] Building a python environment with ubuntu 16.04
[Python] Web application from 0! Hands-on (2) -Hello World-
Building a Python3 environment with Amazon Linux2
A modern environment building procedure for those who want to get started with Python right away
Send a message from Python to Slack
Let's create a virtual environment for Python
Building a Python 3.6 environment with Windows + PowerShell
I want to build a Python environment
Building a conda environment for ROS users
Python> Output numbers from 1 to 100, 501 to 600> For csv
Flask tutorial (from installation to hello world)
How to display Hello world in python
Add a Python virtual environment to VSCode
Things to watch out for when creating a Python environment on a Mac
[AWS] Create a Python Lambda environment with CodeStar and do Hello World
Migration from Python2 to Python3 (Python2 is rebuilt as a virtual environment and coexists)
C language to see and remember Part 1 Call C language from Python (hello world)
Try to set up a Vim test environment quite seriously (for Python)
Build an environment to execute C ++ functions from Python with Pybind11 (for Windows & Visual Studio Code people)
Send a message from Slack to a Python server
Selenium + WebDriver (Chrome) + Python | Building environment for scraping
Edit Excel from Python to create a PivotTable
How to create a Python virtual environment (venv)
How to open a web browser from python
Building a python environment with virtualenv and direnv
Building an environment for executing Python scripts (for mac)
Building an Anaconda environment for Python with pyenv
Building a Python environment with WLS2 + Anaconda + PyCharm
How to generate a Python object from JSON
Say hello to the world with Python with IntelliJ
[Python] Web development preparation (building a virtual environment)
Think about building a Python 3 environment in a Mac environment