saving . . . saved provide syntax of loading data has been deleted. provide syntax of loading data has been hidden .
provide syntax of loading data
Title
Question
how to write the correct path name so that data can be load?

Python-3.4.3 Loading-Data-From-Files 01-02 min 10-20 sec 22-06-19, 6:12 a.m. ravindraverma08

Answers:

In order to specify the complete file path you will have to type in the absolute file path.

The absolute file path will be passed to loadtxt command as an argument

In Windows:

Example: C:/Documents/MyFolder/myfile.csv

In order to understand the file path of your desired file, use the Windows explorer/File explorer and navigate to the where the file is located, Right click on the file, Open Properties and you will find the complete file path specified there.

In Ubuntu:

Example: /home/mylocation/myfolder/myfile.csv

Here also you can use the File explorer to find the exact file path of your file.

In case you are still facing an issue, kindly paste the traceback here and we can help.
22-06-19, 10:21 a.m. ankitrj.iitb


Log-in to answer to this question.