Python Forum
Python requests writes the name of the file instead of contents to web page
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python requests writes the name of the file instead of contents to web page
#2
this code doesn't look like it will run period, at least not do much.
line 19 is an unconditional return, so nothing beyond that will ever get executes.
Reply


Messages In This Thread
RE: Python requests writes the name of the file instead of contents to web page - by Larz60+ - Jun-05-2019, 09:35 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Connecting to Remote Server to read contents of a file ChaitanyaSharma 1 351 May-03-2024, 07:23 AM
Last Post: Pedroski55
  Python logging RotatingFileHandler writes to random file after the first log rotation rawatg 0 494 Feb-15-2024, 11:15 AM
Last Post: rawatg
  Python SSL web page scraping Vadanane 1 1,017 Jan-13-2023, 04:11 PM
Last Post: snippsat
  python requests library .JSON() error mHosseinDS86 6 3,713 Dec-19-2022, 08:28 PM
Last Post: deanhystad
  writelines only writes one line to file gr3yali3n 2 2,480 Dec-05-2021, 10:02 PM
Last Post: gr3yali3n
  Python requests oauth2 access token herobpv 6 4,116 Sep-27-2021, 06:54 PM
Last Post: herobpv
  Python Requests SSL Aussie 0 2,034 Jan-07-2021, 02:09 AM
Last Post: Aussie
  Python Requests Aussie 2 2,825 Dec-23-2020, 03:24 AM
Last Post: Aussie
  Python Requests package: Handling xml response soumyarani 1 2,241 Sep-14-2020, 11:41 AM
Last Post: buran
  Output CSV file with filepath and file contents glittergirl 1 1,803 Aug-03-2020, 01:50 AM
Last Post: glittergirl

Forum Jump:

User Panel Messages

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