- 博客(3)
- 收藏
- 关注
原创 我的第一个程序:地址薄管理(命令行)
#!/usr/bin/python # Filename: adress.py import pickle as p import sys adressfile='adresslist.dat' inputmark=True class Person: population=0 def __init__(self, name,mail): self.name = ...
2020-03-30 22:06:38
407
转载 我的第一个Python图形界面
#filename:myfirstGUI.py from tkinter import * import tkinter.messagebox as messagebox class Application(Frame): def __init__(self,master=None): Frame.__init__(self,master=None) sel...
2020-03-30 21:55:42
142
原创 PYthon学习记录
打开文件 #filename:using_file.py poem='编程是有趣的,当你要你的工作也有趣请使用Pyhon!' f=open('poem.txt','w') #使用open代替原来的file f.write(poem) f.close() f=open('poem.txt') while True: line=f.readline() if len(line)=...
2020-03-28 16:36:02
153
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人