I've been working on a GUI for a while. The problem I'm currently having is that the files I'm reading in have the same "tags" for different lines.
For example, the following would be in a file I'm reading in:
The way I read in files now uses a for loop- and I read in each line (and save things like the port information as variables that I use later in my code.)
Is there a way you can read in lines that says line+1, or something like that?
Ex of Reading in code:
for line in input:
if line[0:7] =="[Laser1]:
Thanks so much! Let me know if you need any more information!