0

How to open a file which is in some other location in the drive should I provide the path name?

file = open(path,'r') ?

9th Aug 2016, 2:35 PM
Rahul Shetty
Rahul Shetty - avatar
3 Answers
+ 2
yes. you must enter the path location/name in parenthesis.
13th Aug 2016, 5:22 PM
Nnamdi Erondu
Nnamdi Erondu - avatar
+ 1
How do I call the path of another file?
22nd Aug 2016, 9:41 AM
shanthini R
0
Yes and must giving a absolute location
23rd Aug 2016, 11:56 AM
Wilfried Willend
Wilfried Willend - avatar