Will not accept path with underscores in filename

I am trying to add an attachment to an outlook email. My code will not accept “attachment1” but “attachment2″ is working fine. The only difference is the filename: Filename_YYY_Week_xx.xlsx” Filename.xlsx” Isn’t it allowed to have underscores in filename? import win32com.client as win32 import os outlook = win32.Dispatch(‘outlook.application’) mail = outlook.CreateItem(0) mail.To = “[email protected]” mail.Subject =…

Details

how to connect IBM cloudant database to local python code?

from cloudant.client import Cloudant from cloudant.error import CloudantException from cloudant.result import Result, ResultByKey client = Cloudant(“23000-xxx-yyy-0000-b9111111b-bluemix”, “axx483d9xxxxxxxxx290ab34xx7a5421b3500f6c0002acfd”, url=”https://23000-xxx-yyy-0000-b9111111b-bluemix:[email protected]5a7-91ba-b9214865a81b-bluemix.cloudantnosqldb.appdomain.cloud”) client.connect() database_name = “Translation_DB” my_database = client.create_database(database_name) this code is not connecting to the cloud database I am trying to connect from my local pc to the db in cloud

Details