Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Loop a list and write to .xlsx
#2
Quote:The code run fine but the save method doesn't work as i wanted
This code cannot fetch a webpage as written
what is value of url after line 7?
print it out and see for yourself.
add after line 7:
print(f"url: {url}")

In addition, you need to attach a portion of data.txt (or entire file if small)
Reply


Messages In This Thread
Loop a list and write to .xlsx - by urobee - Apr-11-2020, 03:41 PM
RE: Loop a list and write to .xlsx - by Larz60+ - Apr-11-2020, 04:02 PM
RE: Loop a list and write to .xlsx - by urobee - Apr-11-2020, 04:24 PM
RE: Loop a list and write to .xlsx - by Larz60+ - Apr-11-2020, 09:07 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Trying to write a code to get a long list of unknown URLs hkynefin 2 2,502 Sep-16-2018, 11:44 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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