Okay, so I'm doing coursework (meant to be in online for midnight tomorrow) on Python programming. And I'm in a bit of a bother.
Quite simply, I have a tab-delimited text file which is basically four columns, we'll call A, B, C and D. The text file doesn't show them in columns, if it's open in Notepad they're all on one line, but I basically need to seperate these into four lists. Each list has to be given a seperate name, A, B, C or D.
Is anybody here up to speed on Python, and could they help please? I've explained it pretty poorly, I know, so if anyone doesn't understand let me know and I'll try to explain more clearly. I need to have four lists stored as objects in the program so I can build a search program for the user to search for particular elements of data.
Quite simply, I have a tab-delimited text file which is basically four columns, we'll call A, B, C and D. The text file doesn't show them in columns, if it's open in Notepad they're all on one line, but I basically need to seperate these into four lists. Each list has to be given a seperate name, A, B, C or D.
Is anybody here up to speed on Python, and could they help please? I've explained it pretty poorly, I know, so if anyone doesn't understand let me know and I'll try to explain more clearly. I need to have four lists stored as objects in the program so I can build a search program for the user to search for particular elements of data.