How to read text file that is already open from another text file?

后端 未结 0 602
南方客
南方客 2020-12-08 04:01

So in the main file I have this as the code:

data_filename = input(\'Data file: \').strip()
data_file = open(data_filename, \'r\')
data = tf.process_data(data         


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