python3 first script (hello world!)

#!/usr/bin/env python3
# -*- coding: UTF-8 -*-

print("hello world!")

The first line: Notes environment variable
second line: Run encoding format (UTF-8)
the third row: printed text "hello world!"

Guess you like

Origin www.cnblogs.com/taoyuxuan/p/10986258.html