+ 1

python: from texte file to lists?

i want to creat 3 lists of data ax, ay, az in python from a texte file that contains data rocorded in lines in that format: ax: 0.01 | ay: 0.03 | az : 1.02

23rd Jun 2022, 8:56 PM
Yacine Yaker
1 ответ
+ 3
Yacine Yaker , can you please make a sample how you need the data. you mentioned that you need 3 lists, but may be we can hold the data in one list, but can access them independly from each other. ? can numbers also be negative ? the task sounds not that diffucult, but we need to have a bit more information. thanks!
24th Jun 2022, 3:40 PM
Lothar
Lothar - avatar