saving . . . saved cat command syntax error has been deleted. cat command syntax error has been hidden .
cat command syntax error
Title
Question
Sir,

while executing the program as explained in the video, the shell shows an invalid syntax for cat command, i have already downloaded the primes.txt file from code files and saved in the same directory. even after giving full path of the file, it shows same error. 

Python-3.4.3 Loading-Data-From-Files 01-02 min 20-30 sec 25-04-20, 4:10 p.m. pr33tvirk

Answers:

the cat command is used in Linux and macOS. For windows use !type primes.txt.
Make sure the file primes.txt is located in the current working directory. To check the current working directory type %pwdinside IPython terminal.
27-04-20, 9:41 a.m. aditya94palaparthy@gmail.com


Log-in to answer to this question.