Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
open file from web
#1
by

File = open('file.txt')

I can open a file.

How can I open a file from a web URL?
Reply
#2
I believe this will make a good starting point:
https://stackoverflow.com/questions/7243...n-python-3
Should you face any problems, post the code and potential errors (in code and error tags) and we will look into it. Good luck!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Trying to open depracated joblib file mckennamason 0 734 Sep-19-2024, 03:30 PM
Last Post: mckennamason
  Open/save file on Android frohr 0 1,127 Jan-24-2024, 06:28 PM
Last Post: frohr
  file open "file not found error" shanoger 8 7,314 Dec-14-2023, 08:03 AM
Last Post: shanoger
  How can i combine these two functions so i only open the file once? cubangt 4 1,946 Aug-14-2023, 05:04 PM
Last Post: snippsat
  I cannot able open a file in python ? ted 5 10,813 Feb-11-2023, 02:38 AM
Last Post: ted
  testing an open file Skaperen 7 2,691 Dec-20-2022, 02:19 AM
Last Post: Skaperen
  I get an FileNotFouerror while try to open(file,"rt"). My goal is to replace str decoded 1 2,043 May-06-2022, 01:44 PM
Last Post: Larz60+
  Dynamic File Name to a shared folder with open command in python sjcsvatt 9 10,002 Jan-07-2022, 04:55 PM
Last Post: bowlofred
  Open an excel file Newbie1114 1 2,854 Jun-16-2021, 09:11 PM
Last Post: Gribouillis
  How to open MIDI-file and get events in a list? philipbergwerf 7 6,793 May-29-2021, 08:24 AM
Last Post: j.crater

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020