saving . . . saved !type has been deleted. !type has been hidden .
!type
Title
Question
 !type "C:\Users\sandh\Sanjit-11G30-Python\Loading-Data-From-Files-
    ...: Codefiles\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 [27]: !type primes.txt
The system cannot find the file specified.

why does it happen like this?

Python-3.4.3 Loading-Data-From-Files 01-02 min 20-30 sec 02-10-24, 7:36 a.m. SanDell

Answers:

1. Ensure the file path is correct. Double-check that is accurate, and the file exists at that location.
2. The !type command might have issues with spaces in file paths. Try enclosing the path in double quotes.
3. If the file is in the current working directory, you don't need to specify the entire path.
 
17-10-24, 12:02 p.m. ketki.naina


Log-in to answer to this question.