By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,584 Members | 3,458 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,584 IT Pros & Developers. It's quick & easy.

to create a front-end for python code to upload a csv file

P: 1
I am working on a project in machine learning and have done the back-end part in python using various packages in python but i want to develop a front-end for uploading a csv file that is done by the user of our project/application
Feb 10 '19 #1
Share this Question
Share on Google+
2 Replies


P: 5
Just import it as you import any other file in python. There is a csv module inbuilt in python, and you can use it to read, write csv files.

See this code below.

import csv
with open("data.csv", 'r') as csvfile:
reader = csv.reader(csvfile)
for row in reader:
print(row)
It is very simple in python.
Feb 28 '19 #3

Post your reply

Sign in to post your reply or Sign up for a free account.