saving . . . saved cat command has been deleted. cat command has been hidden .
cat command
Title
Question
windows cann't recognize cat command in python console


Python-3.4.3 Loading-Data-From-Files 01-02 min 10-20 sec 14-09-21, 6:57 p.m. mycourses

Answers:

Please keep the file in the current working directory and try the !type <filename> command. To check the current working directory from python type %pwd
21-09-21, 8:01 p.m. aditya94palaparthy@gmail.com
got answer
file path was too long
i have reduced it 
and got command executed
In [47]: %pycat E:\primes.txt
2
3
5
7
11
13
17
19
23
29
31
37
41
43
47
53
59
61
67
71
73
79
83
89
97

In [48]: primes = loadtxt("E:\primes.txt")

In [49]: print(primes)
[ 2.  3.  5.  7. 11. 13. 17. 19. 23. 29. 31. 37. 41. 43. 47. 53. 59. 61.
 67. 71. 73. 79. 83. 89. 97.]
22-11-21, 3:01 p.m. anshu99

Login to add comment


Log-in to answer to this question.