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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rathi123
    New Member
    • Feb 2019
    • 1

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

    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
  • jonathan184
    New Member
    • Nov 2006
    • 154

    #2
    go here https://wiki.python.org/moin/GuiProgramming

    Comment

    • sritaa
      New Member
      • Jan 2019
      • 5

      #3
      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(csvf ile)
      for row in reader:
      print(row)
      It is very simple in python.

      Comment

      Working...