6 Replies Latest reply on Aug 13, 2016 7:57 PM by LaiSuan

    How to access csv file from network share folder using Intel Edison.


      @I need to read the csv file from network share folder in Window by using Intel Edison board (Poky (Yocto Project Reference Distro) 1.7.3 piot005ai ttyMFD2), i686 GNU/Linux. I try to use the python code as below, but I get error.. I did change the '/' to '\', but same error resulted.


      import csv
      import os


      with open('////', 'rb') as onOff:
          reader = csv.reader(onOff)
          for row in reader:
              print row




      Error Message:

      Traceback (most recent call last):

        File "AlarmTrigger.py", line 4, in <module>


      OSError: [Errno 2] No such file or directory: ''////'