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
Answers:
alternative for cat in window is
%pycat primes.txt
!type primes.txt
%load primes.txt
Login to add comment