Manup

博客园 首页 联系 订阅 管理

2016年2月15日

摘要: 1 #! /usr/bin/env python 2 #coding=utf-8 3 import sys,shelve 4 def store_person(db): 5 pid=raw_input('Enter unique ID number:') 6 person={} 7 person[' 阅读全文
posted @ 2016-02-15 20:53 manup 阅读(241) 评论(0) 推荐(0)

2015年11月18日

摘要: 1.Python中使程序与用户进行交互的函数是input和print。如:import datetimemyName=input("please input your name:")birthyear=int("please input your birthyear:")#在Python里是用#做注... 阅读全文
posted @ 2015-11-18 15:53 manup 阅读(1740) 评论(0) 推荐(0)