saving . . . saved Loading Data files has been deleted. Loading Data files has been hidden .
Loading Data files
Title
Question
In [105]: %pylab
Using matplotlib backend: TkAgg
Populating the interactive namespace from numpy and matplotlib

In [106]: cat primes.txt
  File "<ipython-input-106-b296f9e207f4>", line 1
    cat primes.txt
             ^
SyntaxError: invalid syntax

Python-3.4.3 Loading-Data-From-Files 01-02 min 20-30 sec 22-06-19, 3:22 p.m. sunaina3110

Answers:

Please use the %cat magic command instead of only cat

If you are on windows you can use !type <file-path>/<filename>.txt Example: !type C:/Documents/myfile.txt
18-04-20, 9:05 p.m. ankitrj.iitb


Log-in to answer to this question.