title: How to create google image slideshow using python
body: <p>I am trying to build the image slide show using python.
  S0, I am trying deferent way but I, not get success.</p>
  <p>I am trying to build the google images slideshow using python.
  Then I do not want to download and store the images in local images I want to get images URL and show in the slide show.</p>
  <p>I am trying to use this code. Please help me to build this. I am using python 3 in windows 10 OS</p>
  <pre><code>import time
  import csv
  from webdriverplus import WebDriver
  from itertools import *
  
  csvfile = input(&quot;Enter the name of the csv input file . . .&quot;)
  loopcall = input(&quot;Infinite loop? (yes/no) . . .&quot;)
  delay = input(&quot;Time delay for each URL visit (in seconds) . . . &quot;)
  delay = int(delay)
  
  urls = csv.reader(open(csvfile, &quot;rU&quot;))
  
  if loopcall == &quot;yes&quot;:
  
      for url in cycle(urls):
  
          browser = WebDriver('firefox', reuse_browser=True)
  
          browser.maximize_window()
  
          browser.get(url[0])
  
          time.sleep(delay)
  
  elif loopcall == &quot;no&quot;:
  
      for url in urls:
  
          browser = WebDriver('firefox', reuse_browser=True)
  
          browser.maximize_window()
  
          browser.get(url[0])
  
          time.sleep(delay)
  
          browser.quit()
  
  else:
  
      print (&quot;Please enter yes or no to specify the loop . . . &quot;)
  </code></pre>
  <p>this is my img.csv file</p>
  <pre><code>https://www.carzonelanka.lk/wp-content/uploads/2018/11/audi-homepage.png
  https://www.extremetech.com/wp-content/uploads/2019/12/SONATA-hero-option1-764A5360-edit-640x354.jpg
  https://www.vega.lk/img/evx/Ws4.jpg
  </code></pre>