开启Python取经之路-CLASS-6(Part 1)

python学习网 2017-07-03 15:40:04

第一个python程序

HELLO WORLD

 1 print("hello world") 

 

单行注释:#

多行注释:'''....'''或者"""...."""

在linux编程中,要在程序中标注环境变量,,让程序识别python执行。

 1 #! /usr/bin/env python 

阅读(837) 评论(0)