May-15-2018, 07:21 AM
This
line_1 = line.split()[0] line_2 = line.split()[1]could be like this
line_1, line2 = line.split()
Convert text file date into specific format
|
May-15-2018, 07:21 AM
This
line_1 = line.split()[0] line_2 = line.split()[1]could be like this line_1, line2 = line.split()
wavic, do you bother to read other people's post from time to time before answering? :-)
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link Create MCV example Debug small programs |
|