We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5bc513f + cbdd2ac commit 5503bf2Copy full SHA for 5503bf2
fileinfo.py
@@ -16,10 +16,13 @@
16
import stat # index constants for os.stat()
17
import time
18
19
+if sys.version_info >= (3, 0):
20
+ raw_input = input
21
+
22
try_count = 16
23
24
while try_count:
- file_name = input("Enter a file name: ") # pick a file you have
25
+ file_name = raw_input("Enter a file name: ") # pick a file you have
26
fhand = open(file_name)
27
count = 0
28
for lines in fhand:
0 commit comments