My first Python
2014-05-02 23:11
302 查看
我的第一个Python程序:
在python3.4下应写为
此时的print函数已经成为python内置函数。
print 'hello world' raw_input ("print any key to continue...")
在python3.4下应写为
print ("hello world! This is my first python!") input("Press enter key to close this window...")
此时的print函数已经成为python内置函数。
相关文章推荐
- [原]My first Python
- My first Python script
- My first Python
- My first Python class
- My first Python program(附增加清屏方法)
- Python sample code of hudson remote api, my first Python hello world
- [原]My first Python
- [Source Code] My First Python Program
- 【Python学习之路】My first journey
- My first program written in Python
- My First Python code for learnning English.
- My first Interview for Newegg.
- Python初入门(三)(Head First Python 第三章 文件与异常)
- My way to Python - Day04 - 模块
- my first LKM
- Python初入门(六)(Head First Python 第六章 打包代码与数据 ,字典,类与继承)
- My first blog
- My First Paper: Introduction to Cyber-I concept
- Python初入门(八)(Head First Python 第八章 移动设备)
- Head First Python 第二章 函数模块&第三章 文件与异常&第四章 持久存储&第五章 处理数据