用户:
木兮MUIT查看:0 回复:0 评论:0 创建时间:2021-11-13T21:12:56
【作品展示】

【作品介绍】
本次更新修复了重大问题,突破技术限制,记录文字可储存在本地,建议所有用户更新
【作品源代码】
from bag.wrlp import *
import time
a = []
ce()
library = open('libraryA.txt', 'r')
Htext = library.read()
t = time.ctime()
print(t)
if ('Fri Nov 5' in t):
maintenance
while True:
input('离线维护时数据不会保存至本地')
else:
version()
a = []
a.append(Htext)
library.close()
while True:
guo_jia = input('Choose language/选择语言:')
if guo_jia in 'Chinese' '中文' 'chinese':
while True:
shu_ru = input('输入“阅读”即可阅读《使用注意事项》:')
if shu_ru in '阅读' '阅读使用注意事项':
read1()
shu_ru2 = input('我已认真阅读注意事项,同意《免责说明》:(同意/取消)')
if shu_ru2 in '同意':
while True:
shu_ru1 = input('记录/删除/查看:')
if shu_ru1 in '记录':
while True:
b = input('记录内容:')
if b in '更改''退出':
break
else:
library=open('libraryA.txt','a')
a.insert(0, b)
print('记录:', a, sep='')
library.writelines(a)
library.close()
elif shu_ru1 in '删除':
while True:
b = input('删除内容:')
if b in '更改''退出':
break
elif b in a:
a.remove(b)
library=open('libraryA.txt','w')
library.writelines(a)
library.close()
print('记录:', a, sep='')
elif b in '预装字符':
print('预装字符不可删除')
else:
print('无法删除!该内容不在记录事项中!')
elif shu_ru1 in '查看':
print('记录:', a, sep='')
elif shu_ru1 in 'stop' '退出' '返回':
print('-返回-')
break
elif shu_ru1 in '更改':
print('请先选择模式!')
else:
print('信息错误')
else:
print('你必须阅读它!')
break
elif shu_ru in '退出':
print('End of Program Run')
break
else:
print('请先阅读使用注意事项!')
elif guo_jia in 'English' '英语' '英文' 'english':
while True:
shu_ru = input(
'Enter "read" to read #precautions for use#:')
if shu_ru in 'read':
read2()
shu_ru2 = input(
'I have read the notes carefully and agree to the Disclaimer Notes: (agree/cancel)')
if shu_ru2 in 'agree':
while True:
shu_ru1 = input('record/delet/see: ')
if shu_ru1 in 'record':
while True:
b = input('Record Content:')
if b in 'change''exit':
break
else:
library = open('libraryA.txt','a')
a.insert(0, b)
print('record:', a, sep='')
library.close()
elif shu_ru1 in 'delet':
while True:
b = input('Delet Content:')
if b in 'change''exit':
break
elif b in a:
a.remove(b)
library = open('libraryA.txt', 'w')
library.writelines(a)
library.close()
print('record:', a, sep='')
else:
print("Can't delete!This is not on the record!")
elif shu_ru1 in 'see':
print('record:', a, sep='')
elif shu_ru1 in 'stop' 'exit':
print('Exited!')
break
elif shu_ru1 in 'change':
print(
'Please select the mode first!')
else:
print('Error message')
else:
print('You must read it!')
break
elif shu_ru in 'exit':
break
else:
print('Please read the usage precautions first!')
elif guo_jia in "exit"'退出':
print('End of Program Run')
break
else:
print('This language is not supported at the moment')
【提示】
部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:
https://python.codemao.cn