用EidtPlus新建一个py文件.代码如下(不能用notepad)
#-*- coding:cp936 -*-
print 'hello, python'
print 'first 1', 'second 2'
print '100 + 200 =', 100+200
#用户输入
"""
用户输入
"""
name = raw_input()
print '输入的数据:', name
name = raw_input('please enter your name:')
print 'hello', name
原文:http://blog.csdn.net/xingkongyingke/article/details/45279347
【说明】:本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!