我有两个文件:
文本
和
program.py
我在我的文章中插入文字
使用该行的文件:
inp=input('Text by the user') with open("text.py", "a") as myfile: myfile.write(inp)
如何让程序删除文本中的行,并说出:
文本2
不
text1 text2
什么时候跑两次?
python file python-3.x
file ×1
python ×1
python-3.x ×1