Python 1 person study session: 1st "Running Python ~" Hello world ""

Introduction to Python 3 has been released by dot install who has been indebted to death. It's one of the languages I really wanted to do, so I decided to take this opportunity to start studying.

Execution environment

Use Cloud9. that's all. I decided to escape from the environment construction for the time being. I have created a workspace called python_lesson and am working there.

Run python

Create a file called ʻapp.py` and run it on the command line. Dot Install used python3.5 series, so according to it

$ python3.5 app.py

Run with.

The promised "Hello world"

app.py


print("Hello world")

It's easy. In python3.x series, print is made into a function and it seems that it is handled differently from 2.x series, but I want to use 3.x series unless it is necessary in the future, so I will write it in 3.x series. I will do it.

Up to here for this time! It's simple to write, isn't it?

Recommended Posts

Python 1 person study session: 1st "Running Python ~" Hello world ""
Study from the beginning of Python Hour1: Hello World
Python starting with Hello world!
[Note] Hello world output with python
cout << "Hello, World! \ N" in python
Python #Hello World for super beginners
[Python] Web application from 0! Hands-on (2) -Hello World-
[Online] Everyone's Python study session # 55 Rough memo
Hello world
How to display Hello world in python
Hello World and face detection with OpenCV 4.3 + Python
Say hello to the world with Python with IntelliJ
Hello World with nginx + uwsgi + python on EC2
First python ① Environment construction with pythonbrew & Hello World !!
Python study note_002
Python study notes _000
Python study notes_006
Pymacs hello world
Python study note_004
Python study note_003
Python study notes _005
Python study notes_001
cython hello world
Python study day 1
Linux Study Session 1st: Virtual Console and File Manipulation