Skip to content
This repository has been archived by the owner. It is now read-only.
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (22 sloc) 572 Bytes
# Import csv
import csv
# Import os
import os
# Main Function
def main():
# Open dataset file
dataset = open('dataset.csv')
# Initialize csvreader for dataset
reader = csv.reader(dataset)
# Read data from reader
data = list(reader)
# Variables for progress counter
lines = len(data)
# Analyze data in dataset
for row in data:
# Assign image name and state to variables
package = row[0]
os.system("cpanm "+ package)
# Execute main function if name is equal to main
if __name__ == '__main__':
You can’t perform that action at this time.