title: Add line break for each item in list,items were found by using beautifulsoup
body: <p>I am trying to find all the photo links in a website, and I use BeautifulSoup for it.
  Here are my codes:</p>
  
  <pre><code>import requests
  from bs4 import BeautifulSoup as bs
  
  url = "http://cupp.cyberport.hk/zh_TW/front_programmes/index"
  webpage = requests.get(url)
  soup = bs(webpage.content, "html.parser")
  images = []
  for img in soup.findAll('img'):
     images.append(img.get('src'))
     with open("photo_links.txt", "w") as text_file:
        text_file.write(str(images))
  </code></pre>
  
  <p>And the results are</p>
  
  <pre><code>['https://www.cyberport.hk/images/logo.jpg','https://www.cyberport.hk/img/weather_icon/black/54.png','https://www.cyberport.hk/images/facebook.jpg', 'https://www.cyberport.hk/images/twitter.jpg','https://www.cyberport.hk/images/linkin.jpg', 'http://cupp.cyberport.hk/files/general_content/upload/12/hkcityu_logo.jpg','http://cupp.cyberport.hk/files/general_content/upload/13/hkbu_logo.jpg'] 
  </code></pre>
  
  <p>All items in the list were printed in one single line in txt file. </p>
  
  <p>I want each item to be separated with "\n"</p>
  
  <p>like this</p>
  
  <pre><code>['https://www.cyberport.hk/images/logo.jpg',
  'https://www.cyberport.hk/img/weather_icon/black/54.png',
  'https://www.cyberport.hk/images/facebook.jpg', 
  'https://www.cyberport.hk/images/twitter.jpg',
  'https://www.cyberport.hk/images/linkin.jpg', 
  'http://cupp.cyberport.hk/files/general_content/upload/12/hkcityu_logo.jpg',
  'http://cupp.cyberport.hk/files/general_content/upload/13/hkbu_logo.jpg'] 
  </code></pre>
  
  <p>How can I modify the code so that I can get my preferred results?</p>
  
  <p>Thank you.</p>