Here is a beginners question:
I made a function that reads a txt file (selected by the user) and makes a list of many numbers contained in the file, called A. I called this function open_file
.
Then I want to change the name of that list with the original name of the file, plus "_values
"
My try
file_name = raw_inpunt('Give the name of the file:') # the user chooses the file
open_file (file_name) #A list is created
file_name +'_'+'values' = A
This doesn't seem to work. Any ideas?