saving . . . saved Error has been deleted. Error has been hidden .
Error
Title
Question

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

Python-3.4.3 Loading-Data-From-Files 01-02 min 20-30 sec 25-05-19, 3 p.m. paresh.rkcet@gmail.com

Answers:

cat is a command used to display the content of the files in linux.
In windows cat command will not work.
Better would be simply open the file in some editor and view.

25-05-19, 3:29 p.m. pratham920
OR
you can also use !type primes.txt
25-05-19, 3:53 p.m. pratham920

Login to add comment


thanks a lot for your reply and make it very interactive to learn during this workshop
25-05-19, 4:28 p.m. paresh.rkcet@gmail.com


Log-in to answer to this question.