Open URLs on chrome
<p>I have a .csv file that contains a column of urls (40-50 urls), I want to read the csv file and open all those urls on chrome? Is there a way to accomplish this in python?  I'm using the following piece of code to read the csv file.</p>

<pre><code>exampleFile = open('MyFile.csv')
exampleReader = csv.reader(exampleFile)
exampleData = list(exampleReader)
final = []
for item in exampleData:
    final.append(item[0])
for item in final:
    ???
</code></pre>

<p>Used this in the end to make it work the way I wanted to. Plus I did not have to install any external modules! Thanks a lot for all your answers, they helped me build the final one!</p>

<pre><code>import webbrowser
import csv

path = "C:/Program Files (x86)/Google/Chrome/Application/chrome.exe %s"
exampleFile = open('MyFile.csv')
exampleReader = csv.reader(exampleFile)
exampleData = list(exampleReader)

for item in exampleData:
    webbrowser.get(path).open(item[0])
</code></pre>

python