From amanullah786sj at gmail.com Tue Aug 1 11:56:52 2023 From: amanullah786sj at gmail.com (Amanullah Amanullah) Date: Tue, 1 Aug 2023 21:26:52 +0530 Subject: [python-win32] Win32com error In-Reply-To: References: Message-ID: Hi, I'm using win32com module in python to perform actions such as draft email, change subject, move email items to other sub folders, and also read email details within date range etc. Intermittently I'm facing below error: -2147352567, 'Exception occurred.', (4096, 'Microsoft Outlook', 'Your server administrator has limited the number of items you can open simultaneously. Try closing messages you have opened or removing attachments and images from unsent messages you are composing.', None, 0, -2147221219), None)" I'm trying to read and modify email items from shared mail box. Could you please help me resolve this issue. Regards, Amanullah. -------------- next part -------------- An HTML attachment was scrubbed... URL: From amanullah786sj at gmail.com Tue Aug 1 12:00:20 2023 From: amanullah786sj at gmail.com (Amanullah Amanullah) Date: Tue, 1 Aug 2023 21:30:20 +0530 Subject: [python-win32] Outlook issue with win32 Message-ID: Hi, I am trying to automate outlook actions through win32com.client module from python. Intermittently I'm facing below error: -2147352567, 'Exception occurred.', (4096, 'Microsoft Outlook', 'Your server administrator has limited the number of items you can open simultaneously. Try closing messages you have opened or removing attachments and images from unsent messages you are composing.', None, 0, -2147221219), None)" I'm trying to read and modify email items from shared mail box. I'm running a loop over many emails. I have also tried taskkill command on outlook application, it didn't help . Please help me resolve this issue. Regards, Amanullah. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dolezvo1 at fit.cvut.cz Tue Aug 8 08:22:25 2023 From: dolezvo1 at fit.cvut.cz (Dolezal, Vojtech) Date: Tue, 8 Aug 2023 12:22:25 +0000 Subject: [python-win32] How to search Windows file structure (with existing indexes) Message-ID: Good afternoon, is it possible to search Windows file structure with use of indexes where available? There seems to be package named adodbapi which supposedly allowed for this, but according to its SourceForge page (https://sourceforge.net/projects/adodbapi/) it is now part of pywin32. However I didn't find any information about this in the pywin32 documentation, and I am unable to install the adodbapi package itself. Best regards, Vojt?ch Dole?al -------------- next part -------------- An HTML attachment was scrubbed... URL: From dolezvo1 at fit.cvut.cz Tue Aug 8 08:44:16 2023 From: dolezvo1 at fit.cvut.cz (Dolezal, Vojtech) Date: Tue, 8 Aug 2023 12:44:16 +0000 Subject: [python-win32] How to search Windows file structure (with existing indexes) Message-ID: Good afternoon, is it possible to search Windows file structure with use of indexes where available? There seems to be package named adodbapi which supposedly allowed for this, but according to its SourceForge page (https://sourceforge.net/projects/adodbapi/) it is now part of pywin32. However I didn't find any information about this in the pywin32 documentation, and I am unable to install the adodbapi package itself. Best regards, Vojt?ch Dole?al -------------- next part -------------- An HTML attachment was scrubbed... URL: From vernondcole at gmail.com Wed Aug 9 14:40:35 2023 From: vernondcole at gmail.com (Vernon D. Cole) Date: Wed, 9 Aug 2023 12:40:35 -0600 Subject: [python-win32] How to search Windows file structure (with existing indexes) In-Reply-To: References: Message-ID: Because pywin32 is required for adodbapi to operate, it was merged into pywin32 several years ago. Installing a current version of pywin32 will install adodbapi as part of it. It will appear as a separate module in the Python site-packages library tree. I have never tried accessing the Windows file directory, which I think might be what you refer to, but I have accessed some Active Directory information as tables using adodbapi. In short, anything for which you can find a connection string and a driver ought to give you tabular data. On Tue, Aug 8, 2023 at 9:55?AM Dolezal, Vojtech wrote: > Good afternoon, > > is it possible to search Windows file structure with use of indexes where > available? > > There seems to be package named adodbapi which supposedly allowed for > this, but according to its SourceForge page ( > https://sourceforge.net/projects/adodbapi/) it is now part of pywin32. > However I didn't find any information about this in the pywin32 > documentation, and I am unable to install the adodbapi package itself. > > Best regards, > > Vojt?ch Dole?al > _______________________________________________ > python-win32 mailing list > python-win32 at python.org > https://mail.python.org/mailman/listinfo/python-win32 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From vernondcole at gmail.com Wed Aug 9 14:43:07 2023 From: vernondcole at gmail.com (Vernon D. Cole) Date: Wed, 9 Aug 2023 12:43:07 -0600 Subject: [python-win32] How to search Windows file structure (with existing indexes) In-Reply-To: References: Message-ID: For reading file directories I recommend using pathlib from the Python standard library. On Wed, Aug 9, 2023 at 12:40?PM Vernon D. Cole wrote: > Because pywin32 is required for adodbapi to operate, it was merged into > pywin32 several years ago. Installing a current version of pywin32 will > install adodbapi as part of it. It will appear as a separate module in the > Python site-packages library tree. > > I have never tried accessing the Windows file directory, which I think > might be what you refer to, but I have accessed some Active Directory > information as tables using adodbapi. > > In short, anything for which you can find a connection string and a driver > ought to give you tabular data. > > On Tue, Aug 8, 2023 at 9:55?AM Dolezal, Vojtech > wrote: > >> Good afternoon, >> >> is it possible to search Windows file structure with use of indexes where >> available? >> >> There seems to be package named adodbapi which supposedly allowed for >> this, but according to its SourceForge page ( >> https://sourceforge.net/projects/adodbapi/) it is now part of pywin32. >> However I didn't find any information about this in the pywin32 >> documentation, and I am unable to install the adodbapi package itself. >> >> Best regards, >> >> Vojt?ch Dole?al >> _______________________________________________ >> python-win32 mailing list >> python-win32 at python.org >> https://mail.python.org/mailman/listinfo/python-win32 >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From pcpllxx at gmail.com Wed Aug 9 13:38:50 2023 From: pcpllxx at gmail.com (Chr Pqe) Date: Wed, 9 Aug 2023 19:38:50 +0200 Subject: [python-win32] python-win32 Digest, Vol 241, Issue 2 In-Reply-To: References: Message-ID: Hello It is not at all clear what you are asking. You are halfway there if you start with the right question as one famous man said... The link you provided isn't about "windows file structure" but about accessing databases. In any case, even if it could access perhaps Windows Search database, the question is confusing enough as it is. Kindly provide examples and what you have already done so it can be answered efficiently. Regards On Tue, Aug 8, 2023 at 6:00?PM wrote: > Send python-win32 mailing list submissions to > python-win32 at python.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://mail.python.org/mailman/listinfo/python-win32 > or, via email, send a message with subject or body 'help' to > python-win32-request at python.org > > You can reach the person managing the list at > python-win32-owner at python.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of python-win32 digest..." > > > Today's Topics: > > 1. How to search Windows file structure (with existing indexes) > (Dolezal, Vojtech) > 2. How to search Windows file structure (with existing indexes) > (Dolezal, Vojtech) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 8 Aug 2023 12:22:25 +0000 > From: "Dolezal, Vojtech" > To: "python-win32 at python.org" > Subject: [python-win32] How to search Windows file structure (with > existing indexes) > Message-ID: > < > AM0PR0602MB3684B27C5A5813F2C205ADBDDC0DA at AM0PR0602MB3684.eurprd06.prod.outlook.com > > > > Content-Type: text/plain; charset="iso-8859-2" > > Good afternoon, > > is it possible to search Windows file structure with use of indexes where > available? > > There seems to be package named adodbapi which supposedly allowed for > this, but according to its SourceForge page ( > https://sourceforge.net/projects/adodbapi/) it is now part of pywin32. > However I didn't find any information about this in the pywin32 > documentation, and I am unable to install the adodbapi package itself. > > Best regards, > > Vojt?ch Dole?al > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > https://mail.python.org/pipermail/python-win32/attachments/20230808/5bb09506/attachment-0001.html > > > > ------------------------------ > > Message: 2 > Date: Tue, 8 Aug 2023 12:44:16 +0000 > From: "Dolezal, Vojtech" > To: "python-win32 at python.org" > Subject: [python-win32] How to search Windows file structure (with > existing indexes) > Message-ID: > < > AM0PR0602MB368492DC3B1D51CF34ED1181DC0DA at AM0PR0602MB3684.eurprd06.prod.outlook.com > > > > Content-Type: text/plain; charset="iso-8859-2" > > Good afternoon, > > is it possible to search Windows file structure with use of indexes where > available? > > There seems to be package named adodbapi which supposedly allowed for > this, but according to its SourceForge page ( > https://sourceforge.net/projects/adodbapi/) it is now part of pywin32. > However I didn't find any information about this in the pywin32 > documentation, and I am unable to install the adodbapi package itself. > > Best regards, > > Vojt?ch Dole?al > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > https://mail.python.org/pipermail/python-win32/attachments/20230808/792aadbe/attachment-0001.html > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > python-win32 mailing list > python-win32 at python.org > https://mail.python.org/mailman/listinfo/python-win32 > > > ------------------------------ > > End of python-win32 Digest, Vol 241, Issue 2 > ******************************************** > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dolezvo1 at fit.cvut.cz Thu Aug 10 17:06:54 2023 From: dolezvo1 at fit.cvut.cz (Dolezal, Vojtech) Date: Thu, 10 Aug 2023 21:06:54 +0000 Subject: [python-win32] How to search Windows file structure (with existing indexes) In-Reply-To: References: Message-ID: Hello, thank you so much for your reply. I completely missed the fact installing pywin32 also installed adodbapi, that was a crucial information with which I managed to do what I needed. Best regards, Vojt?ch Dole?al ________________________________ Od: Vernon D. Cole Odesl?no: st?eda 9. srpna 2023 20:40 Komu: Dolezal, Vojtech Kopie: python-win32 at python.org P?edm?t: Re: [python-win32] How to search Windows file structure (with existing indexes) Because pywin32 is required for adodbapi to operate, it was merged into pywin32 several years ago. Installing a current version of pywin32 will install adodbapi as part of it. It will appear as a separate module in the Python site-packages library tree. I have never tried accessing the Windows file directory, which I think might be what you refer to, but I have accessed some Active Directory information as tables using adodbapi. In short, anything for which you can find a connection string and a driver ought to give you tabular data. On Tue, Aug 8, 2023 at 9:55?AM Dolezal, Vojtech > wrote: Good afternoon, is it possible to search Windows file structure with use of indexes where available? There seems to be package named adodbapi which supposedly allowed for this, but according to its SourceForge page (https://sourceforge.net/projects/adodbapi/) it is now part of pywin32. However I didn't find any information about this in the pywin32 documentation, and I am unable to install the adodbapi package itself. Best regards, Vojt?ch Dole?al _______________________________________________ python-win32 mailing list python-win32 at python.org https://mail.python.org/mailman/listinfo/python-win32 -------------- next part -------------- An HTML attachment was scrubbed... URL: