+ 1
How do this in Python
I want a program to get and store the data(from a text file) in a variable, but the text file have three kinds of data: 1.Name, 2.Email, 3.Password. Then the datas are separated with this character: | To do the program i've to use something like split('|')? Edit: I forgot to specify how the data is. The data is like this https://code.sololearn.com/ciOQ0BFMHrKU/?ref=app
3 ответов
+ 5
Are the data in one line?
toto| toto@dodo| my pwd
dada| dada@dada |dadaspwd
0
Frogged, the data is like this:
https://code.sololearn.com/ciOQ0BFMHrKU/?ref=app