该文被密码保护。 阅读全文
摘要:
encode2.7.py # Author:Adminone for linux platform #-*- coding:utf-8 -*- import sys print(sys.getdefaultencoding()) #获取默认编码ASCII ###################### 阅读全文
摘要:
func_test1.py __author__ = "Alex Li" #函数 def func1(): """testing1""" print('in the func1') return 0 #过程 def func2(): '''testing2''' print('in the func 阅读全文
摘要:
# Author:Adminone list_1 = [1,4,5,7,3,6,7,9] list_1 = set(list_1) #列表转集合 print(list_1,type(list_1)) list_2 =set([2,6,0,66,22,8,4]) print(list_1,list_2 阅读全文
摘要:
with 语句 __author__ = "Alex Li" import sys #f = open("yesterday2","r",encoding="utf-8") with open("yesterday2","r",encoding="utf-8") as f ,\ open("yest 阅读全文