saving . . . saved Python 3.6.3 has been deleted. Python 3.6.3 has been hidden .
Python 3.6.3
Title
Question
In[2]: L = np.loadtxt("student_record.txt", usecols=(3,4,5,6,7), delimiter=';')
---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
Input In [2], in <cell line: 1>()
----> 1 L = np.loadtxt("student_record.txt", usecols=(3,4,5,6,7), delimiter=';')

File C:\Phython 3.10\lib\site-packages\numpy\lib\npyio.py:1042, in loadtxt(fname, dtype, comments, delimiter, converters, skiprows, usecols, unpack, ndmin, encoding, max_rows, like)
   1040     fname = os_fspath(fname)
   1041 if _is_string_like(fname):
-> 1042     fh = np.lib._datasource.open(fname, 'rt', encoding=encoding)
   1043     fencoding = getattr(fh, 'encoding', 'latin1')
   1044     line_iter = iter(fh)

File C:\Phython 3.10\lib\site-packages\numpy\lib\_datasource.py:193, in open(path, mode, destpath, encoding, newline)
    156 """
    157 Open `path` with `mode` and return the file object.
    158
   (...)
    189
    190 """
    192 ds = DataSource(destpath)
--> 193 return ds.open(path, mode, encoding=encoding, newline=newline)

File C:\Phython 3.10\lib\site-packages\numpy\lib\_datasource.py:532, in DataSource.open(self, path, mode, encoding, newline)
    529     return _file_openers[ext](found, mode=mode,
    530                               encoding=encoding, newline=newline)
    531 else:
--> 532     raise FileNotFoundError(f"{path} not found.")

FileNotFoundError: student_record.txt not found.

Python-3.4.3 Statistics 14-15 min 10-20 sec 09-07-22, 7:40 p.m. 05__vaishnavi

Answers:

Log-in to answer to this question.