Webastor - Programming Tips and Tricks

Programming language => Python => Topic started by: Arjun on November 17, 2016, 07:04:54 PM

Title: How can I read in a line from a file in Python that has spaces between four values, and put the four pieces of data into four separate variables?
Post by: Arjun on November 17, 2016, 07:04:54 PM
Hi, I would like to ask you a little problem that I can not answer, how can i read in a line from a file in python that has spaces between four values, and put the four pieces of data into four separate variables? Thank you for helping me as soon as possible, thank you in advance.