Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Issue with os.rename
#3
This is *.msg file - email saved from Outlook.
I closed Outlook, closed Total Commander but still getting the issue :(

I am using this to get some information from email body

import extract_msg

msg = extract_msg.Message(ff)
msg_message = msg.body
p_id = msg_message[msg_message.find(start_text)+len(start_text):msg_message.find(end_text)]
Maybe this code is holding the file open?

Any ideas?
Reply


Messages In This Thread
Issue with os.rename - by malinowy - Jun-25-2019, 04:05 PM
RE: Issue with os.rename - by nilamo - Jun-25-2019, 04:23 PM
RE: Issue with os.rename - by malinowy - Jun-25-2019, 04:46 PM
RE: Issue with os.rename - by malinowy - Jun-26-2019, 08:55 AM
RE: Issue with os.rename - by malinowy - Jul-01-2019, 11:53 AM

Forum Jump:

User Panel Messages

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