Re: [python-win32] file name contains brackets got converted to %5B and %5D

2022-04-11 Thread Steven Manross
stoph J. Dorner Sent: Saturday, April 09, 2022 2:52 AM To: jefferyl...@actgenomics.com; python-win32@python.org Subject: Re: [python-win32] file name contains brackets got converted to %5B and %5D Hi, I am not sure If I gto the context, it is hard to understand what you have done witht he limited

Re: [python-win32] file name contains brackets got converted to %5B and %5D

2022-04-10 Thread Christoph J. Dorner
Hi, I am not sure If I gto the context, it is hard to understand what you have done witht he limited description. But I guess you passed a filename to a COM object ? Try to escape the brackets. And check for problems arising a) from the different notation conventions for pathnames and b) differe

[python-win32] file name contains brackets got converted to %5B and %5D

2022-04-07 Thread 廖弈全
Hi, My docx file name contains brackets ([ and ]) and those brackets were changed to %5B and %5D after I convert the docx to pdf. e.g. before: name_[project_id]_date.docx after: name_%5Bproject_id%5D_date.pdf I've searched Document.ExportAsFixedFormat