Ch #1 Exercise on file:// #955
Answered
by
chrishtr
smriti-spotnana
asked this question in
Q&A
-
How can my browser show a local file's content ? - won't socket look for the IP address of the server serving the url (file:// etc in this case) first .. and I have not setup my machine to serve this file in anyway .. so how would the socket locate this file I am thinking |
Beta Was this translation helpful? Give feedback.
Answered by
chrishtr
Oct 20, 2023
Replies: 1 comment
-
Hint: You'll need to parse the URL and use python file APIs to load the file directly. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
pavpanchekha
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hint: You'll need to parse the URL and use python file APIs to load the file directly.