ERROR
Title
Question
cat primes.txt
File "<ipython-input-2-b296f9e207f4>", line 1
cat primes.txt
^
SyntaxError: invalid syntax
File "<ipython-input-2-b296f9e207f4>", line 1
cat primes.txt
^
SyntaxError: invalid syntax
Python-3.4.3 Loading-Data-From-Files 01-02 min 30-40 sec
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 %pwd inside IPython terminal.
Login to add comment