saving . . . saved load the txt files has been deleted. load the txt files has been hidden .
load the txt files
Title
Question
IN windows i use the command cat primes.txt not run. How to use the command cat primes?
if i use the method like open the file i.e. 
fd=open('primes.txt')
p=fd.read()
print(p)
in case of writting the 3 line just use the cat primes.txt only it's run in ubuntu? not in window?

Python-3.4.3 Loading-Data-From-Files 01-02 min 20-30 sec 22-04-20, 11:35 p.m. laxmi_kant1@rediffmail.com

Answers:

alternative for cat in window is 
%pycat primes.txt
!type primes.txt
%load primes.txt

22-04-20, 11:52 p.m. laxmi_kant1@rediffmail.com
how to load primes.txt file on windows.
similar problem i am also noticing.
even after trying the above mentioned three alternatives, it is not loading
-Rama krishna
17-07-20, 12:47 p.m. krisram
Check if the file is present in the current working directory. To check the current working directory type %pwd inside ipython terminal.
25-10-21, 7:17 p.m. aditya94palaparthy@gmail.com

Login to add comment


Log-in to answer to this question.