Python Forum
o365 special subject mail download issue
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
o365 special subject mail download issue
#3
thanks, now I am facing new error now.

Error:
Traceback (most recent call last): File "eposDatadownload.py", line 28, in <module> if not os.path_exist(save_path): AttributeError: module 'os' has no attribute 'path_exist'
tried with os.path_exists also.this path is already exits, if I am commenting that,getting below error

Error:
Traceback (most recent call last): File "eposDatadownload.py", line 30, in <module> with open(os.path.join_path(save_path,filename), 'wb') as fp: AttributeError: module 'posixpath' has no attribute 'join_path'
whereas I am not getting error while checking indivisually

Python 3.6.0 (default, Jan 22 2018, 15:43:08)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-16)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> save_path = '/home/anna/scripts/ohfdata/downloads'
>>> print(os.path.exists(save_path))
True
Reply


Messages In This Thread
o365 special subject mail download issue - by anna - May-15-2019, 07:27 AM
RE: o365 special subject mail download issue - by anna - May-16-2019, 06:09 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  download with internet download manager coral_raha 0 4,034 Jul-18-2021, 03:11 PM
Last Post: coral_raha
  Mail issue Mihil 3 3,594 Dec-03-2020, 05:25 AM
Last Post: Mihil
  Does O365 work with Office 2016 KipCarter 7 6,533 Jan-17-2020, 04:28 PM
Last Post: buran
  smtplib mail without subject anna 2 3,350 Apr-24-2019, 05:44 AM
Last Post: anna
  How can read and download the attachment from the mail using while loop in IMAPlib Py Samjith 0 5,593 Oct-11-2018, 07:15 AM
Last Post: Samjith
  Mail Faiyaz 1 34,527 Sep-24-2018, 02:29 PM
Last Post: Larz60+
  Outlook mail watcher g_shanmuga 1 5,901 Mar-26-2018, 04:09 PM
Last Post: nilamo
  Issue with special characters Tiskolin 2 3,841 Mar-19-2018, 11:21 AM
Last Post: snippsat
  Simple e-mail sender, that automatically changes subject for every e-mail joker 2 4,175 Aug-24-2017, 09:45 AM
Last Post: joker
  Modules issue, pip3 download modules only to pyhton3.5.2 not the latest 3.6.1 bmohanraj91 6 9,898 May-25-2017, 08:15 AM
Last Post: wavic

Forum Jump:

User Panel Messages

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