Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Session Persistence
#2
ElementTree.parse() accepts a file object only. The data passed in is a byte string, not a file. Try ElementTree.fromstring() instead. You'll likely need to decode the data as well.
Reply


Messages In This Thread
Session Persistence - by portuguesedanny - Jan-15-2019, 04:31 PM
RE: Session Persistence - by stullis - Jan-15-2019, 06:30 PM
RE: Session Persistence - by portuguesedanny - Jan-15-2019, 06:38 PM
RE: Session Persistence - by nilamo - Jan-15-2019, 06:47 PM
RE: Session Persistence - by stullis - Jan-15-2019, 10:38 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Powershell Session translation to Python; Session code seems to not work Maverick494 1 3,628 Jun-26-2018, 05:16 PM
Last Post: Maverick494

Forum Jump:

User Panel Messages

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