-
How to Write a Python program that Stores App Information in A Text File?
over 8 years ago
-
over 8 years ago
Hello viswa nath
You have to store app information in text file in a list or a tuple. As like below code.textname = input("app information in text file") thetextfile = open(textname,'shiva') print("The file opened successfully !") thetextfile = thetextfile.read() file_s = thetextfile.split() holder = [] wordlist = {} for c in file_s: wordlist[c.split()[0]] = c.split()[1:]
Note- The layout for this UI should be correct.
-
1 Answer(s)