title: How do I apply a python script that adds bullets points to lists in a notepad?
body: <p>This is a dumb question, so when I searched the web I only found answers to more advanced problems.</p>
  
  <p><strong>OK, so I made a script: bulletPointAdder.py</strong></p>
  
  <p><strong>In a notepad I have a list (one item on each line).</strong></p>
  
  <p><strong>How do I apply the script I made to the notepad file?</strong></p>
  
  <p>(the script is working as intended because I'm using the "Automate the Boring Stuff with Python" by Al Stweigart - but the book isn't helping or I'm incapable of understanding)</p>
  
  <pre><code>#! python3
  # bulletPointAdder.py - Adds Wikipedia bullet points to the start
  # of each line of text on the clipboard.
  
  import pyperclip
  text = pyperclip.paste()
  
  # Separate lines and add stars.
  lines = text.split('\n')
      for i in range(len(lines)): # loop through all indexes in the "lines" list
          lines[i] = '* ' + lines[i] # add star to each string in "lines" list
  text = '\n'.join(lines)
  pyperclip.copy(text)
  </code></pre>