saving . . . saved Sirisha E has been deleted. Sirisha E has been hidden .
Sirisha E
Title
Question
cat command not working. how to load text file. give file name including path as an example. 

Python-3.4.3 Loading-Data-From-Files 00-01 min 0-10 sec 22-06-19, 3 p.m. SirishaE

Answers:

for loading a file you can use %load command
%load file1.txt
22-06-19, 3:08 p.m. PriyaBhatnagar


In windows there is no cat command. Use !type filename.txt.

You can use loadtxt python function to load the data from a file.

loadtxt('C:\\\\documents\\\\myfile.txt')
22-06-19, 3:11 p.m. ankitrj.iitb


%load is not recommended. Instead use %pycat or !type to view file contents.
22-06-19, 3:32 p.m. iakashchavan


Log-in to answer to this question.