Computers and Technology, 21.09.2020 14:01 kamayabrown668
A file won’t open on your friend’s computer, which leads to the inevitable question: “Why do there even need to be different file types, anyway?” How would you respond?
Answers: 2
Computers and Technology, 21.06.2019 19:30, davisparker5269
Write a function processpeople() that takes the name of a file as a parameter. each line of the file corresponds to information about a person. in particular a line contains either a name (in the form lastname, firstname with no spaces in it) or a name (lastname, firstname) and a year. the function will process the file, creating a person object for each line in the file. the function will print information about each line as it processes it, as well as appending the new person object into a list. make sure to use person methods to display information rather than recreating the work you did for the first problem. once the entire file has been processed, the function returns the list of person objects created from the file. if the file is empty, the function should return an empty list. if the input file cannot be opened, the function should print a message to that effect and then return an empty list. the following shows what would be displayed for two example files which have been provided in the link. the file none. txt does not exist. note that your function must work on an arbitrary file that consists of valid lines. you cannot assume anything about the file except that it contains lines that have the format described above.
Answers: 2
Computers and Technology, 22.06.2019 15:20, brookemcelhaney
The north and south regions had very diferent economies in the 1800s.
Answers: 1
A file won’t open on your friend’s computer, which leads to the inevitable question: “Why do there e...
Computers and Technology, 19.02.2020 20:51
English, 19.02.2020 20:51
Physics, 19.02.2020 20:52
Engineering, 19.02.2020 20:52