saving . . . saved Use of text(.txt) file has been deleted. Use of text(.txt) file has been hidden .
Use of text(.txt) file
Title
Question
my question is between sequesnce 1.12 to1.22 seconds. i downloaded the zip file of the code which contains primes.txt, pendulum.txt and saved it. after that when I use "cat" comd to extract the prime numbers or pendulum details from the list it is giving a syntax error and I cannot proceed further wrt loading of the prime numbers etc as being taught.
how did you use the text file so that when i use cat comd the numbers get displayed on the console. i feel it cannot read the file.

thanks

Python-3.4.3 Loading-Data-From-Files 01-02 min 0-10 sec 27-04-20, 5:06 p.m. kabirkohli85

Answers:

Download all the files present below the video. Extract the files if it is a zip file
Copy all the downloaded files into the current working directory.
To check the current working directory type %pwd inside the ipython terminal.
27-04-20, 9:12 p.m. aditya94palaparthy@gmail.com


I also have the same problem.Were u able to solve it?
I think cat command dosen't work in windows.
28-04-20, 10:08 a.m. akshaysadawarte18499@gmail.com
i searched and found that the command  "!type" works for windows.
use !type primes.txt  
28-04-20, 10:15 a.m. akshaysadawarte18499@gmail.com

Login to add comment


Log-in to answer to this question.