How to change the extension of a file to a variable

后端 未结 0 1072
情话喂你
情话喂你 2020-12-31 04:40
\'\'\'
def naru(namef):
    try:
        zfile=open(\'namef.txt\',\'r\')

\'\'\'

How can ı write a function that can read a file with different name

相关标签:
回答
  • 消灭零回复
提交回复
热议问题