Question: I have a dropdown select form that I need to make it so it stays the same option everytime I save.

So what I want is when I select an option from the dropdown, it stays the same when I've submitted the form and come back to the form another time.

<https://hastebin.com/zafoxexoja.vbs>

I've tried things all over google but doesn't seem to work.

Answer: 
You could try a lookup on a list of functions:

```
line_processors = [
    lambda ln: print("line 1 of paragraph:", ln),
    lambda ln: print("line 2 of paragraph:", ln),
    lambda ln: print("line 3 of paragraph:", ln),
    lambda ln: print("line 4 of paragraph:", ln),
    lambda ln: print("blank line:", ln),
]

with open("myfile.txt") as f:
    for i, line in enumerate(f):
        line_processors[i % 5](line)

```
You can read all your file lines and create a list of lines. After that you just need to operate with your list indexes.

```
with open(fname) as f:
    content = f.readlines()    
content = [x.strip() for x in content] 

# this(content[0])
# that(content[1])

```