Python (from first time to execution)

Introduction

Page for beginners (never installed) It will be explained on windows. For mac people, go to a different page.

Installation

First, let's install python. https://www.python.org/

  1. Place the cursor on "Downloads" on this page and select "Windows".
  2. Find and click "Download Windows x86-64 executable installer" under "Python 3.8.0 --Octo. 14, 2019"!
  3. After that, the Python installer will start downloading without permission. After that, I will push the next button all the time!
  4. Finally, I think there is install, so click on it to start installing Python itself!

This completes the installation of Python itself!

Display of Hello World

Let's display "__Hello Wolrd! __". Open an app called "Notepad" and

print('Hello World!')

Type and save. When saving, press the two keys "Ctrl + S" to go to the save screen. When you say to the save screen, File name

"test.py"

Toki, the character code at the bottom

"UTF-8"

After setting, let's save! I couldn't find a place, so I went to the Desktop.

After saving, start the command prompt. At the bottom left of the screen, under "Enter here to search"

"cmd"

Type and press Enter to bring up a black screen.

Be careful from here. The place marked with __'[]'is the name on the computer or any place. __

After starting,

C:¥Users¥[username]>

Is displayed. After the'>',

cd Desktop

Enter. After that,

C:¥Users¥[username]¥Desktop>

It will be displayed. Again, following that'>'

python test.py

Please enter. Then

Hello World!

Will come out. that's all!

By the way, print ('') is already a Python language. Python is ready to hit and run. This is the base part of the preferences.

Recommended Posts

Python (from first time to execution)
First time python
First time python
Private Python handbook (updated from time to time)
Function execution time (Python)
Changes from Python 3.0 to Python 3.5
Changes from Python 2 to Python 3.0
Output python execution time
From editing to execution
How to measure execution time with Python Part 1
progate Python learning memo (updated from time to time)
How to measure execution time with Python Part 2
Post from Python to Slack
Python execution time measurement memo
Cheating from PHP to Python
Anaconda updated from 4.2.0 to 4.3.0 (python3.5 updated to python3.6)
Execution time measurement with Python With
Switch from python2.7 to python3.6 (centos7)
Connect to sqlite from python
Machine learning python code summary (updated from time to time)
The first step to getting Blender available from Python
Call Matlab from Python to optimize
vtkXMLUnstructuredGridReader Summary (updated from time to time)
vtkOpenFOAMReader Summary (Updated from time to time)
Engineer vocabulary (updated from time to time)
Create folders from '01' to '12' with python
Post from python to facebook timeline
[Lambda] [Python] Post to Twitter from Lambda!
Measure function execution time in Python
Connect to utf8mb4 database from python
Tensorflow memo [updated from time to time]
Post images from Python to Tumblr
See python for the first time
How to access wikipedia from python
Python to switch from another language
Did not change from Python 2 to 3
Update Python on Mac from 2 to 3
[Python] Hit Keras from TensorFlow and TensorFlow from c ++ to speed up execution
[Python3] Define a decorator to measure the execution time of a function
git / python> git log analysis (v0.1, v0.2)> Implementation to estimate work time from git log
[Note] AI / machine learning / python related websites [updated from time to time]
[Python] Fluid simulation: From linear to non-linear
From Python to using MeCab (and CaboCha)
How to update Google Sheets from Python
Send a message from Python to Slack
I want to use jar from python
Easy conversion from UTC to local time
Convert from katakana to vowel kana [python]
Push notification from Python server to Android
From MuJoCo license acquisition, renewal to execution
Connecting from python to MySQL on CentOS 6.4
vtkClipPolyData / DataSet Summary (Updated from time to time)
Porting and modifying doublet-solver from python2 to python3.
How to access RDS from Lambda (python)
MongoDB for the first time in Python
Python> Output numbers from 1 to 100, 501 to 600> For csv
[Updated from time to time] PostmarketOS related notes
Summary of vtkThreshold (updated from time to time)
Convert from Markdown to HTML in Python
[Amazon Linux] Switching from Python 2 series to Python 3 series
API explanation to touch mastodon from python