Re: [python-win32] python-win32 Digest, Vol 258, Issue 1

2025-03-01 Thread Wuping Xin via python-win32
The problem is that for Python 3.11+, the frame object has changed, hence axdebug is not built for it. Question: Would this be fixed any time soon? This feature is definitely needed for Python Active Script debugging. Also even with other Python binding framework such as pybind11, Active

Re: [python-win32] python-win32 Digest, Vol 258, Issue 1

2025-03-01 Thread Wuping Xin via python-win32
Forget it. I figured out. W. X. -- Original Message -- From [email protected] To [email protected] Date 3/1/2025 12:00:02 PM Subject python-win32 Digest, Vol 258, Issue 1 Send python-win32 mailing list submissions to [email protected] To subscribe

Re: [python-win32] python-win32 Digest, Vol 242, Issue 2

2023-09-05 Thread Wuping Xin
Did you run your "wrapped exe" package on the same computer where the package was wrapped, or on a new computer? If it was running on a new computer, probably it won't work because pywin32 is dependent on certain system registry entries. PyInstaller does not seem to package the registry. W

Re: [python-win32] python-win32 Digest, Vol 241, Issue 2

2023-08-09 Thread Chr Pqe
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, t

Re: [python-win32] python-win32 Digest, Vol 232, Issue 1

2022-10-11 Thread monetclause--- via python-win32
I've had my challenges with 3.10 and stayed on 3.9, with good results. Sent from Android On Tue, Oct 11, 2022 at 11:00, [email protected] wrote: Send python-win32 mailing list submissions to     [email protected] To subscribe or unsubscribe via the World Wide Web, vis

Re: [python-win32] python-win32 Digest, Vol 210, Issue 3

2020-10-27 Thread Anthony James
Dmitry-- Is the script neglecting only one email or several emails. If several emails are missing are they in series - is there any sort of pattern? Anthony On Tuesday, October 27, 2020, wrote: > Send python-win32 mailing list submissions to > [email protected] > > To subscribe

Re: [python-win32] python-win32 Digest, Vol 205, Issue 8

2020-05-27 Thread Markus Kramer
At the times predating pypi and wheels, how did you compile the swig interfaces? distutils, swig, or a third method? On Tue, May 26, 2020 at 6:01 PM wrote: > Send python-win32 mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, vi

Re: [python-win32] python-win32 Digest, Vol 205, Issue 5

2020-05-24 Thread Tim Roberts
On May 24, 2020, at 9:21 AM, Markus Kramer wrote: > > The points are: > - Reduce vulnerability. The MFC library is large and (earlier? versions) > contained CVE's. Whatever vulnerabilities there might be aren’t a factor if you aren’t using them. > - Reduce maintenance cost. By shipping less

Re: [python-win32] python-win32 Digest, Vol 205, Issue 5

2020-05-24 Thread Markus Kramer
Hello Tim, thank you for asking > What is the point? Installing a package does not mean you are required to use all of it. The points are: - Reduce vulnerability. The MFC library is large and (earlier? versions) contained CVE's. - Reduce maintenance cost. By shipping less, you need to observe

Re: [python-win32] python-win32 Digest, Vol 190, Issue 2

2019-02-12 Thread thiemo . theile
Do you have a windows-system with a c-compiler and python installed? Could you run my cython-code? It would be very nice, if you could test if you get the same error or if something is wrong with my compiler-python-combination... Here a link to my project: https://www.dropbox.com/sh/fa090glkb4u

Re: [python-win32] python-win32 Digest, Vol 190, Issue 2

2019-02-12 Thread thiemo . theile
Yes, I compiled all the sources with the same compiler. At least every source code which is part of the meteoio-library. What do you mean by "ALL sources"? Here is what I do: -generate the project with cmake setting "generator" to "Visual Studio 15 2017" and "inheritEnvironments" to "msvc_x86".

Re: [python-win32] python-win32 Digest, Vol 190, Issue 2

2019-02-12 Thread Nikolai Spahiev
From: "thiemo theile" Yes, I compiled all the sources with the same compiler. At least every source code which is part of the meteoio-library. What do you mean by "ALL sources"? Here is what I do: -generate the project with cmake setting "generator" to "Visual Studio 15 2017" and "inheritEn

Re: [python-win32] python-win32 Digest, Vol 171, Issue 2

2017-06-22 Thread [email protected]
Goku Balu schreef: > Thanks for the response. That's a great find. Yes I've installed 32-bit > python in my 64-bit windows machine. I hope you've narrowed down the > issue. Is there any way to get it working? I am by no means an expert, but as far as I know this can't work. The way to get your

Re: [python-win32] python-win32 Digest, Vol 171, Issue 2

2017-06-22 Thread Gertjan Klein
Goku Balu schreef: Thanks for the response. That's a great find. Yes I've installed 32-bit python in my 64-bit windows machine. I hope you've narrowed down the issue. Is there any way to get it working? I am by no means an expert, but as far as I know this can't work. The way to get your con

Re: [python-win32] python-win32 Digest, Vol 171, Issue 2

2017-06-22 Thread Goku Balu
Hi Gertjan, Thanks for the response. That's a great find. Yes I've installed 32-bit python in my 64-bit windows machine. I hope you've narrowed down the issue. Is there any way to get it working? Goku Balu schreef: > > > To explain things bit more clearly, I'm trying to add my own menu item > > t

Re: [python-win32] python-win32 Digest, Vol 168, Issue 3

2017-03-21 Thread Goku Balu
Hi Michel, Thanks for the response. Yes that's an option available. I've already tried this for setting permissions on files and folders. Since each invocation constitutes a System Call, it fills up the stack easily and the OS denies the handle thereafter. I'm trying to achieve it in a more native

Re: [python-win32] python-win32 Digest, Vol 165, Issue 3

2016-12-05 Thread Greg Ewing
Tim Roberts wrote: Is it possible your 2008 laptop had had the registry changes necessary to associate .P files with Excel, but your current laptop does not? He's running a program that explicitly tells Excel to open the file, so extension associations don't come into it. What matters is whethe

Re: [python-win32] python-win32 Digest, Vol 165, Issue 3

2016-12-04 Thread Tim Roberts
On Dec 4, 2016, at 9:17 AM, Doug Sharkey wrote: > > Appreciate the response. Although it has a .P extension it's actually an > Excel spreadsheet (xlsx format). Business rules require the name format. How does that make any sense at all? If you double-click on that file name, the system isn't

Re: [python-win32] python-win32 Digest, Vol 165, Issue 3

2016-12-04 Thread Doug Sharkey
Hi Tim Appreciate the response. Although it has a .P extension it's actually an Excel spreadsheet (xlsx format). Business rules require the name format. I could rename it but I suspect the name isn't the issue since this code works fine on my 2008 laptop with the .P file. I'll try renaming it just

Re: [python-win32] python-win32 Digest, Vol 163, Issue 6

2016-10-24 Thread Max Slimmer
The adodbapi documentation and code implies that with autocommit = False I should only have to call commit (and possibly rollback) and if using the connection as a context manager not even those are required. If autocommit = False is passed on the initial connect the __init__ of the connector handl

Re: [python-win32] python-win32 Digest, Vol 162, Issue 4

2016-09-23 Thread eryk sun
On Fri, Sep 23, 2016 at 2:12 PM, eryk sun wrote: > Each kernel object type has a GENERIC_MAPPING that maps generic rights > to sets of standard and object-specific rights. Before doing an > AccessCheck, generic rights have to be mapped to specific rights via > MapGenericMask. > > For the File type

Re: [python-win32] python-win32 Digest, Vol 162, Issue 4

2016-09-23 Thread eryk sun
On Fri, Sep 23, 2016 at 10:39 AM, Goku Balu wrote: > On Tue, Sep 20, 2016 at 9:30 PM, wrote: >> > >> > That doesn't seem like a bug to me. GENERIC_WRITE represents several >> > permissions mashed together, including FILE_WRITE and read control. >> > >> > Perhaps try with just FILE_WRITE on its ow

Re: [python-win32] python-win32 Digest, Vol 162, Issue 4

2016-09-23 Thread Goku Balu
So if we deny WRITE then SYNCHRONIZE will be denied which will in-turn affect READ. Is there a way to deny WRITE alone without affecting file/folder read? Thanks, Goku On Tue, Sep 20, 2016 at 9:30 PM, wrote: > > > > > That doesn't seem like a bug to me. GENERIC_WRITE represents several > > per

Re: [python-win32] python-win32 is for Python on Windows

2015-12-27 Thread Tim Golden
The problem here is that changing the name (as opposed to the description) would break all sorts of existing links. Frankly, I doubt if anyone's actually stopping short of posting to the list merely over a doubt as to whether they can ask about 64-bit issues! TJG On 27/12/2015 18:33, R Schuma

Re: [python-win32] python-win32 is for Python on Windows

2015-12-27 Thread R Schumacher
I think part of the problem is "32" is now antiquated. At 08:29 AM 12/27/2015, mc@mclaveau wrote: Hi! Is "PyWin32" a possible name? @-salutations -- Michel Claveau Le 26.12.15 19:01, eryk sun a écrit : On Sat, Dec 26, 2015 at 10:44 AM, Vernon D. Cole wrote: 1) this (Python-win32) is not

Re: [python-win32] python-win32 is for Python on Windows

2015-12-27 Thread mc
Hi! Is "PyWin32" a possible name? @-salutations -- Michel Claveau Le 26.12.15 19:01, eryk sun a écrit : On Sat, Dec 26, 2015 at 10:44 AM, Vernon D. Cole wrote: 1) this (Python-win32) is not a group for the discussion of Python (in general) on Windows platforms. It is for discussion of a s

Re: [python-win32] python-win32 Digest, Vol 145, Issue 6

2015-04-16 Thread Tim Roberts
You might consider double-checking your message subjects before responding. That's especially important when you read the digest. Blair Hall wrote: > > Can you show us your manifest? > > > Thanks for taking a look. > > I have put the contents of the manifest file at the bottom of this post: >

Re: [python-win32] python-win32 Digest, Vol 145, Issue 6

2015-04-15 Thread Blair Hall
> -- > > Message: 1 > Date: Wed, 15 Apr 2015 10:57:34 -0700 > From: Tim Roberts > To: python-win32 > Subject: Re: [python-win32] python-win32 Digest, Vol 140, Issue 1 > Message-ID: <552ea68e.3080..

Re: [python-win32] python-win32 Digest, Vol 140, Issue 1

2015-04-15 Thread Tim Roberts
Blair Hall wrote: > > _ctypes.pyd calls LoadLibraryA("msvcr90.dll") and a version of > msvcr90.dll is found in the Windows PATH, despite the fact that I have > included the correct version and a manifest, as described on the > internet in may places. > > Is there is something wrong with the way tha

Re: [python-win32] python-win32 Digest, Vol 140, Issue 1

2015-04-14 Thread Blair Hall
I am still stuck on this problem. I have posted a more detailed account here http://stackoverflow.com/questions/29597999/incorrect-dll-is-loaded-from-windows-path-instead-of-manifest _ctypes.pyd calls LoadLibraryA("msvcr90.dll") and a version of msvcr90.dll is found in the Windows PATH, despite

Re: [python-win32] python-win32 Digest, Vol 143, Issue 7

2015-02-12 Thread Claudemir de almeida rosa
It still fails, follow example #coding: gbk from win32com import universal from win32com.server.exception import COMException from win32com.client import gencache, DispatchWithEvents import winerror import pythoncom from win32com.client import constants, Dispatch import sys import win32com.clien

Re: [python-win32] python-win32 Digest, Vol 142, Issue 8

2015-01-16 Thread Michael Watson
Are you doing anything with threading (I see you are making a call to pythoncom.GetInterfaceCount()? If so check out http://stackoverflow.com/questions/16367328/memory-leak-in-threaded-com-object-with-python/16617092#16617092 I've had an issues with a leak and win32 and this took care of it. I ha

Re: [python-win32] python-win32 Digest, Vol 142, Issue 5

2015-01-06 Thread Michael Watson
I am giving a pretty simple overview of how to use InnoSetup and py2exe to distribute Python apps at PyTennessee. https://www.pytennessee.org/proposals/114/ You can use the bundle_files option (mentioned above) to cut down the number of additional files, then use InnoSetup to package everything t

Re: [python-win32] python-win32 Digest, Vol 141, Issue 8

2014-12-27 Thread Tim Golden
On 27/12/2014 15:13, Chris Smith wrote: Also, is more than just a SourceForge account necessary to do a read-only checkout of the code? To do a read-only checkout of the code, you don't even need a SourceForge account. Just clone it: hg clone http://pywin32.hg.sourceforge.net:8000/hgroot/p

Re: [python-win32] python-win32 Digest, Vol 141, Issue 8

2014-12-27 Thread Chris Smith
Also, is more than just a SourceForge account necessary to do a read-only checkout of the code? On Sat, Dec 27, 2014 at 6:00 AM, wrote: > Send python-win32 mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > https:

Re: [python-win32] python-win32 Digest, Vol 141, Issue 5

2014-12-11 Thread Blair Hall
Thanks for your answer Visual Studio 2008 still used the stupid "side-by-side" DLL installation > technique. What that means is that compiler doesn't just embed a link > to MSVCR90.dll -- it embeds a link to a specific version of > MSVCR90.dll. (As of today, there are SIX such versions.) Side-b

Re: [python-win32] python-win32 Digest, Vol 141, Issue 3

2014-12-09 Thread Blair Hall
Update 2 --- I found a version of py2exe 0.6.10 ( http://www.lfd.uci.edu/~gohlke/pythonlibs/#py2exe), which does not generate a DLL that trys to load zlib.pyd. However, that was not my problem. By using Dependency Walker I can see that, during the registration of the DLL complied on the w

Re: [python-win32] python-win32 Digest, Vol 136, Issue 6

2014-07-21 Thread Anis Liyana
Hello, Would appreciate any help regarding my problem. Problem: I am currently on a project for back up server with python script. The project is actually arise from problem whereby when I need to back up my server (Windows Server 2003), I usually use Robocopy but, when I copy the folders from ser

Re: [python-win32] python-win32 Digest, Vol 135, Issue 13

2014-07-01 Thread jh_wang2004
Hi Tim:     Thanks a lot for you reply. According to the COM document , the function declaration in C++ is    lRet = object.ReadDeviceBlock(szDevice、lSize、*lplData)        Long lRet  (return value, 0 is read success, otherwise is read failed)   Output        CString szDevice (Device register na

Re: [python-win32] python-win32 Digest, Vol 122, Issue 5

2013-05-06 Thread Michael Watson
Thank you. I have tried both del() and setting the value to None. Neither worked. On May 6, 2013 6:25 AM, wrote: > Send python-win32 mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.python.org/mailman

Re: [python-win32] python-win32 Digest, Vol 121, Issue 12

2013-04-25 Thread Mark Hammond
Can't you just download and install the pre-built binaries? If you do need to build from sources, I suspect the missing header is in the platform SDK... Mark On 25/04/2013 7:59 PM, Dinesh B Vadhia wrote: Mark Started again from the top by first downloading the pywin32 tarball to a Windows 7/

Re: [python-win32] python-win32 Digest, Vol 121, Issue 12

2013-04-25 Thread Dinesh B Vadhia
Mark Started again from the top by first downloading the pywin32 tarball to a Windows 7/8 64-bit machine with Python 2.7.4 64-bit installed system-wide. The MS SDK v7.0 has been installed and initiated for 64-bit compiler support. No virtualenv during this phase. The following is the output f

Re: [python-win32] python-win32 Digest, Vol 116, Issue 13

2012-11-30 Thread Tim Roberts
[email protected] wrote: > > Nit: the Pythonic recommended way of doing this is "if isinstance (item, > tuple):" > > The difference is that this will also work if item is an instance of a > subclass of "tuple" while the original code does not handle that case. For > this code, that might not

Re: [python-win32] python-win32 Digest, Vol 116, Issue 13

2012-11-30 Thread Paul_Koning
On Nov 30, 2012, at 4:20 PM, Tim Roberts wrote: > In the future, I'd like to suggest that you choose a genuine subject > line when you post. It makes people more inclined to read your messages. > > > Michael Wilson wrote: >> >> My thought if there's not already an elegant solution in Python i

Re: [python-win32] python-win32 Digest, Vol 116, Issue 13

2012-11-30 Thread Tim Roberts
In the future, I'd like to suggest that you choose a genuine subject line when you post. It makes people more inclined to read your messages. Michael Wilson wrote: > > My thought if there's not already an elegant solution in Python is to > create a flag 'r' before ranges. So, the example here wo

Re: [python-win32] python-win32 Digest, Vol 116, Issue 13

2012-11-30 Thread Michael Wilson
Hi everyone, I am new to Python. Been poking at it for about a month now. I am trying to set up a list for information on people. For example: person 0's name = "Sam". li[0][0] person 0's hoppy = "skateboarding" li[0][1] person 0's favorite color = ["green", "red"] li[0][2] # it appears i can put

Re: [python-win32] python-win32 Digest, Vol 115, Issue 14

2012-10-30 Thread Gerard Blais
I had the Enthought free Python distribution. I uninstalled, rebooted, and re- installed. That seems to have fixed everything. Thanks! Sent from my iPad On Oct 30, 2012, at 7:00 AM, [email protected] wrote: > Send python-win32 mailing list submissions to >python-win32@pytho

Re: [python-win32] python-win32 Digest, Vol 112, Issue 19

2012-07-23 Thread Tim Roberts
Jane Chen wrote: > Thank you for your help! No luck so far. > > I wrote a C program and got the same results as python: Support for this ioctl is sporadic. It may simply be that your SD drive doesn't support it. > Win 7 Notebook (with SD card inserted directly i.e. no SD card > reader) Error cod

Re: [python-win32] python-win32 Digest, Vol 112, Issue 19

2012-07-23 Thread Jane Chen
Thank you for your help! No luck so far. I wrote a C program and got the same results as python: Win 7 Notebook (with SD card inserted directly i.e. no SD card reader) Error code: 1 Win 7 Notebook (without SD card inserted at all) Error code: 6 WinXP desktop (with USB stick but without SD card in

Re: [python-win32] python-win32 with vba

2012-07-20 Thread Tim Roberts
汪雷 wrote: > Hi, I don't know how to handle ms word's events. > By VBA, the code is as following: > > > Private Sub Ducoment_Open(): > > my code > > End Sub. > > The code in ms word macro is to capture the 'Open' event, when the word > is opened, my code will be executed. How can I perform b

Re: [python-win32] python-win32 Digest, Vol 112, Issue 3

2012-07-04 Thread prashant padaganur
> > Date: Wed, 04 Jul 2012 08:24:22 +0100 > From: Tim Golden > On 04/07/2012 06:01, prashant padaganur wrote: > > On 03/07/2012 12:23, prashant padaganur wrote: > >>>/ > > />>/ I want to write an application that puts the system in to different > > />>/ sleep states. Like S0,S1...S4. > > />>/ > >

Re: [python-win32] python-win32 Digest, Vol 110, Issue 30

2012-06-02 Thread damien moloney
Win32 file properties The code under the https://github.com/tjguk/winshell was very helpful, I'm able to retrieve the values. You are correct delving into how it all works it is very complicated. Thanks Damien. On 29 May 2012 20:00, wrote: > Send python-win32 mailing list submissions to >

Re: [python-win32] python-win32 Digest, Vol 109, Issue 26

2012-05-02 Thread Aravind Kamble
I was downloading .zip file not the exe installer file. It worked now. Thanks for the help. But would be still interested to download the code and experiment with it. ./Aravind On Mon, Apr 30, 2012 at 3:30 PM, wrote: > Send python-win32 mailing list submissions to >python-win32@pyth

Re: [python-win32] python-win32 Digest, Vol 104, Issue 14

2011-12-15 Thread Mark Hammond
On 22/11/2011 2:10 PM, 陈智宏 wrote: http://sourceforge.net/tracker/?func=detail&aid=2831327&group_id=78018&atid=551954 UTC / Local time break pythonwin for Python32. A lot of function does not work. Simple throws

Re: [python-win32] python-win32 Digest, Vol 104, Issue 14

2011-11-21 Thread 陈智宏
http://sourceforge.net/tracker/?func=detail&aid=2831327&group_id=78018&atid=551954 UTC / Local time break pythonwin for Python32. A lot of function does not work. Simple throws following messages: ValueError: astimezone() cannot be applied to a naive datetime On Mon, Nov 21, 2011 at 7:00 PM, w

Re: [python-win32] python-win32 Digest, Vol 104, Issue 14

2011-11-21 Thread 陈智宏
http://sourceforge.net/tracker/?func=detail&aid=3438213&group_id=78018&atid=551954 It seems that it's the same issue. Python3 broken filetime processing for python win32. On Mon, Nov 21, 2011 at 7:00 PM, wrote: > Send python-win32 mailing list submissions to >[email protected] >

Re: [python-win32] python-win32 Digest, Vol 100, Issue 14

2011-07-13 Thread Jason Veldicott
That was it - invoking the function with the FileFilter parameter as well resulted in the display of the InitialFilename as desired. Your googling has saved my day. Many thanks Andrew. I might say though, that googling on Excel in general seems to bring up a lot of noisy hits, but more to the poi

Re: [python-win32] python-win32 Digest, Vol 93, Issue 26

2010-12-22 Thread Gerard Blais
One thought is a default dictionary import containers counts = containers.defaultdict(int) for pair in my_array: counts[pair] += 1 duplicated_pairs = [x for x in counts if counts[x] > 1] Gerry On Wed, Dec 22, 2010 at 12:21 PM, wrote: > Send python-win32 mailing list submissions to >

Re: [python-win32] python-win32 Digest, Vol 92, Issue 16

2010-11-22 Thread Tim Roberts
[email protected] wrote: > Thanks for you answer. The handle is unfortunately from another process. > > This is a piece of code I have found on the web that works great to get the > values of a list from another process. I have marked the part where I want to > select a list item: Yes, this i

Re: [python-win32] python-win32 Digest, Vol 92, Issue 16

2010-11-20 Thread admin
Thanks for you answer. The handle is unfortunately from another process. This is a piece of code I have found on the web that works great to get the values of a list from another process. I have marked the part where I want to select a list item: def readListViewItems(hwnd, column_index=0):

Re: [python-win32] python-win32 Digest - Can't access COM methods

2010-11-08 Thread Robert Norman
Hi Tim, (I wasn't sure how to target your response in the digest. Hope this worked out OK.) Message: 2 Date: Fri, 5 Nov 2010 13:22:04 -0700 From: Tim Roberts To: Python-Win32 List Subject: Re: [python-win32] Can't access methods of COM object. Message-ID:<[email protected]> Content-T

Re: [python-win32] python-win32 Digest, Vol 88, Issue 12

2010-08-01 Thread Li Zhengping
Hi Guys, Is there anybody can help me about the processing taskbar ? How can I locate the cursor on the icon in the taskbar and double click it with python? There is a demo in the python example, for creating an icon in the taskbar for one task. Any idea about this is highly appreciated. Thank

Re: [python-win32] python-win32 Digest, Vol 87, Issue 3

2010-06-17 Thread Mauricio Martinez Garcia
On response: row--mins--LOG_PYTHON: register info 192--1.62111605008--LOG_PYTHON: 526862501806|6130314|6130314|01|01|s|s| CELIT710|CELIT710|AC|0|57.22| 0 193--1.6306677858--LOG_PYTHON: 523330779616

Re: [python-win32] python-win32 Digest, Vol 86, Issue 3

2010-05-03 Thread Lewis Pusey
Thanks for the reply, I'll give it a whirl. I thought WOW was world of warcraft for some reason. Lewis On Mon, May 3, 2010 at 6:00 AM, wrote: > Send python-win32 mailing list submissions to >[email protected] > > To subscribe or unsubscribe via the World Wide Web, visit >ht

Re: [python-win32] python-win32 Digest, Vol 81, Issue 13

2009-12-13 Thread Preston Landers
On Sun, Dec 13, 2009 at 5:00 AM, wrote: > Do you have evidence that your Python code is running in multiple > threads?  I.e. are you sure this isn't just ISAPI running some cleanup > work in another thread? Oh yes. There was no doubt. I used a debugger (pydevd) to put a breakpoint at the start

Re: [python-win32] python-win32 Digest, Vol 79, Issue 1

2009-10-01 Thread Tony Cappellini
Message: 3 Date: Wed, 30 Sep 2009 11:56:01 -0700 From: Tim Roberts To: Python-Win32 List Subject: Re: [python-win32] Talking to the parallel port Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 >>Why would you expect any updates? The technology behind the

Re: [python-win32] python-win32 Digest, Vol 78, Issue 18

2009-09-21 Thread Threader Slash
. This should hopefully make it works. Threader -- > > Message: 2 > Date: Fri, 18 Sep 2009 10:50:38 -0700 > From: Tim Roberts > To: Python-Win32 List > Subject: Re: [python-win32] python-win32 : cross database automation > Message-ID: <4a

Re: [python-win32] python-win32 : cross database automation

2009-09-18 Thread Tim Roberts
Threader Slash wrote: > > I working on a client-server database solution. The system is > normalized and is using MySQL. To automate some of processes I using > Python. Part of the old database will be still running on Lotus Notes. > > After working on it, it seems that the best choice to directly

Re: [python-win32] python-win32 Digest, Vol 77, Issue 13

2009-08-10 Thread Eric Blade
> > As a human being, how would you decide which one you need? > > That sounds flippant, but I'm being serious.  If you can describe the > decision-making process you would go through, then I think we can help > you create a program that does the same thing. What I need is a function that will tel

Re: [python-win32] python-win32 Digest, Vol 76, Issue 17

2009-07-17 Thread Tim Roberts
Tony Cappellini wrote: > Tim, would you try parsing the "SystemEventLog" (from Windows XP)? > This is the one I'm having problems with, not the application log. > I saved a copy of my system event log with 2,383 events, and I'm able to read all 2,383 events. -- Tim Roberts, [email protected] Pro

Re: [python-win32] python-win32 Digest, Vol 76, Issue 17

2009-07-17 Thread Tony Cappellini
Message: 2 Date: Thu, 16 Jul 2009 15:57:31 -0700 From: Tim Roberts To: Python-Win32 List Subject: Re: [python-win32] Python parser for Windows Event Logs Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 > Would anyone be willing to try parsing their own Syste

Re: [python-win32] python-win32 Digest, Vol 76, Issue 13

2009-07-10 Thread Tony Cappellini
> Message: 1 > Date: Thu, 09 Jul 2009 22:20:56 +0100 > From: Tim Golden > Cc: [email protected] > Subject: Re: [python-win32] Python parser for Windows Event Logs > Message-ID: <[email protected]> > Content-Type: text/plain; charset=UTF-8; format=flowed > > Let me know

Re: [python-win32] python-win32 Digest, Vol 74, Issue 5

2009-05-04 Thread Mike Driscoll
[email protected] wrote: Send python-win32 mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit http://mail.python.org/mailman/listinfo/python-win32 or, via email, send a message with subject or body 'help' to

Re: [python-win32] python-win32 Digest, Vol 73, Issue 32

2009-04-30 Thread Khalid Moulfi
Thks Tim Roberts for your explanation, I'll try it with version 2.2.1 Regards KM On Thu, Apr 30, 2009 at 8:46 PM, wrote: > Send python-win32 mailing list submissions to >[email protected] > > To subscribe or unsubscribe via the World Wide Web, visit >http://mail.python.o

Re: [python-win32] python-win32 Digest, Vol 69, Issue 23

2008-12-16 Thread Ferdinand Sousa
-- Forwarded message -- > From: Tim Roberts > To: Python-Win32 List > Date: Mon, 15 Dec 2008 10:03:17 -0800 > Subject: Re: [python-win32] Post Message > Ferdinand Sousa wrote: > > > > I have written a small script to automate a process. The issue is that > > a "Save As" pops up a

Re: [python-win32] python-win32 Digest, Vol 64, Issue 25

2008-07-23 Thread Norm Petterson
Google is your friend. Of the many references, he first for "WindowsError: [Error 5] Access is denied" probably answers your question ;-)... On Wed, Jul 23, 2008 at 6:57 AM, siddhartha veedaluru < [EMAIL PROTECTED]> wrote: > Hi, > > Tried the following snippet: > > import os, sys > from _winre

Re: [python-win32] python-win32 Digest, Vol 64, Issue 25

2008-07-23 Thread siddhartha veedaluru
On Wed, Jul 23, 2008 at 4:27 PM, siddhartha veedaluru < [EMAIL PROTECTED]> wrote: > Hi, > > Tried the following snippet: > > import os, sys > from _winreg import * > KEY_WOW64_64KEY = 256 > regHandle = > OpenKey(HKEY_LOCAL_MACHINE,"SOFTWARE\Myapp\Base",0,KEY_WOW64_64KEY) > val = QueryValue(regH

Re: [python-win32] python-win32 Digest, Vol 64, Issue 25

2008-07-23 Thread siddhartha veedaluru
Hi, Tried the following snippet: import os, sys from _winreg import * KEY_WOW64_64KEY = 256 regHandle = OpenKey(HKEY_LOCAL_MACHINE,"SOFTWARE\Myapp\Base",0,KEY_WOW64_64KEY) val = QueryValue(regHandle,"nPLATTYPE") print val Got the following error Traceback (most recent call last): File "C:\Pr

Re: [python-win32] python-win32 Digest, Vol 62, Issue 13

2008-05-15 Thread Tim Golden
siddhartha veedaluru wrote: Sorry about the confusing question. Your rewording is a lot clearer. Thanks. Here is what i want to achieve i have certain updates that i need to install on different machines These updates are placed in a location and is mapped to all the machines While I think

Re: [python-win32] python-win32 Digest, Vol 62, Issue 13

2008-05-15 Thread bob gailer
siddhartha veedaluru wrote: Hi, Sorry about the confusing question. Thank you. This feels a LOT better. Now we can help. Here is what i want to achieve i have certain updates that i need to install on different machines These updates are placed in a location and is mapped to all the mach

Re: [python-win32] python-win32 Digest, Vol 62, Issue 13

2008-05-15 Thread siddhartha veedaluru
Hi, Sorry about the confusing question. Here is what i want to achieve i have certain updates that i need to install on different machines These updates are placed in a location and is mapped to all the machines There will be an exe file say "InstallUpdate.exe" for every update. i need to run t

Re: [python-win32] python-win32 Digest, Vol 60, Issue 26

2008-03-17 Thread Tim Golden
siddhartha veedaluru wrote: > Hi Tim, > > I tried the snippet you sent to me. > Same error. > > i opened the python shell and gave "import wmi" > It give the same error. > > comobj._oleobj_.GetTypeInfo().GetContainingTypeLib()[0].GetTypeComp() > com_error: (-2147319779, 'Library not registered.'

Re: [python-win32] python-win32 Digest, Vol 60, Issue 26

2008-03-17 Thread siddhartha veedaluru
Hi Tim, I tried the snippet you sent to me. Same error. i opened the python shell and gave "import wmi" It give the same error. comobj._oleobj_.GetTypeInfo().GetContainingTypeLib()[0].GetTypeComp() com_error: (-2147319779, 'Library not registered.', None, None) Thanks for your responce. Siddhar

Re: [python-win32] python-win32 Digest, Vol 58, Issue 53

2008-01-31 Thread Mike Driscoll
Hi, Are you wanting to use Python in Excel instead of VBA? There's a thread about just that sort of thing here: http://www.velocityreviews.com/forums/t319222-re-python-in-excel.html Otherwise you'll need to figure out how to use VBA to do some kind of Python voodoo to check the data type. I supp

Re: [python-win32] python-win32 Digest, Vol 58, Issue 40

2008-01-24 Thread Mike Driscoll
Hi, > thunder thunder54007 wrote: > > I got it, I should get an instance first before i can use > it, and here is > > another problem, when I use Win32_Product to fetch the > installed software on > > my system, but only some of them are returned, I don't know > why? how can i > > get all the inst

Re: [python-win32] python-win32 Digest, Vol 58, Issue 4

2008-01-06 Thread Tony Cappellini
Rename the main script in your python application so it's extension is .pyw Replace the word console in the py2exe setup.py file, to windows Message: 3 Date: Fri, 4 Jan 2008 17:43:40 -0100 From: Jo?o Abrantes <[EMAIL PROTECTED]> Subject: [python-win32] Starting a .exe py2exe program in backgrou

Re: [python-win32] python-win32 Digest, Vol 57, Issue 22

2007-12-27 Thread Tim Golden
Antony Joseph wrote: > Hi, > > I am try to print all the message in my mailbox . its not working > inbox = session.Inbox > i print the value of inbox its gives > > I think its not getting the inbox ? > > > # > # inbox.py > # test case for access to Exchange; run through the > # hard-coded user

Re: [python-win32] python-win32 Digest, Vol 57, Issue 22

2007-12-24 Thread Antony Joseph
Hi, I am try to print all the message in my mailbox . its not working inbox = session.Inbox i print the value of inbox its gives > I think its not getting the inbox ? # # inbox.py # test case for access to Exchange; run through the # hard-coded user's inbox and list the subjects of each email.

Re: [python-win32] python-win32 Digest, Vol 57, Issue 14

2007-12-12 Thread Tony Cappellini
Message: 4 Date: Wed, 12 Dec 2007 21:41:15 +0100 From: Sebastian Friebe <[EMAIL PROTECTED]> Subject: Re: [python-win32] USB access using win32file.deviceIOcontrol To: Python-Win32 List Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=us-ascii Tim Roberts wrote: TR> That's fundame

Re: [python-win32] python-win32 Digest, Vol 54, Issue 14

2007-09-23 Thread Tony Cappellini
Take a look at SWIG and BOOST. Message: 1 Date: Sun, 23 Sep 2007 09:23:54 +0200 From: "Aviel, Gal" <[EMAIL PROTECTED]> Subject: Re: [python-win32] Python COM Server, C++ Client - How ??? To: "Ryan Ginstrom" <[EMAIL PROTECTED]>, Message-ID: ___ py

Re: [python-win32] Python-win32 Digest, Vol 53, Issue 8

2007-08-08 Thread Huang Guan
te: Tue, 7 Aug 2007 08:23:41 +0800 > From: "Huang Guan" <[EMAIL PROTECTED]> > Subject: Re: [python-win32] Python-win32 Digest, Vol 53, Issue 6 > To: [email protected] > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="i

Re: [python-win32] Python-win32 Digest, Vol 53, Issue 6

2007-08-06 Thread Huang Guan
Dear Sirs, Thanks for the detail comments from Tim Roberts,Roger and Michel Claveau, question 1, 2, 4 have been finished. I am doing a anti pornography and violence software, which face to the youngers. Convenience to distribute the software and restrictc some mischievous youngsters to shut down

Re: [python-win32] Python-win32 Digest, Vol 53, Issue 3

2007-08-03 Thread Huang Guan
Dear Roger, Thanks for your comments, according the code suggestion you gave: ie.Navigate('about:blank') p=ie.Document._oleobj_.QueryInterface(pythoncom.IID_IPersistStreamInit) p.Load(), confirm Load() metchod in existence. Could you give some examples on how to use PyISte

Re: [python-win32] Python-win32 Digest, Vol 53, Issue 2

2007-08-03 Thread Huang Guan
Dear Tim Roberts, Thanks for your kindly comments. Pls see my question as below letter in blue and give me some suggestion accordingly. Huang Guan wrote: > > 1). While using pythoncom develop com+ serivce, executed triumphantly. > But why the pythonservice appear in windows process administer al

Re: [python-win32] Python-win32

2007-06-03 Thread Bijan Berenji
Hi, I have a question about xml.dom.minidom module. Suppose I have a node n. When I try >>> n.toprettyxml(" ") I get the warning: AttributeError: Node instance has no instance 'nodeType'. I am using python 2.4.4 on WinXP. Any help is appreciated. -Bijan On Jun 3, 2007, at 3:00 AM, [EMAIL PRO

Re: [python-win32] Python-win32 Digest, Vol 50, Issue 5

2007-05-03 Thread Tony Cappellini
When your program starts, take a snapshot of all the storage devices. You can do this with a timer, every few seconds or so. If the new snapshot changes from the original, you can call an API to see if the new device is removable or not. This won't tell you if it's a USB drive specifically, but fo

Re: [python-win32] Python-win32 Digest, Vol 48, Issue 2

2007-03-05 Thread Tony Cappellini
Date: Sun, 4 Mar 2007 16:18:55 -0500 From: "Roger Upole" <[EMAIL PROTECTED]> Subject: [python-win32] Re: win32gui.GetOpenFileName() To: Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original This function expects a buffer containi

Re: [python-win32] Python-win32 Digest, Vol 46, Issue 18

2007-01-24 Thread Tony Cappellini
If you want to hide the window which your app was launched, rename the .py file to .pyw You wan't see the console window then Message: 9 Date: Wed, 24 Jan 2007 09:40:47 +0100 From: le dahut <[EMAIL PROTECTED]> Subject: [python-win32] Launch process To: [email protected] Message-ID: <[EMAIL

Re: [python-win32] Python-win32 Digest, Vol 45, Issue 13

2006-12-13 Thread James Matthews
Wikipedia just opened a new hosting platform i will try to get a site and make a media wiki so people in the python world can read/write on win32 API's Etc. Although it would kill allot of the traffic on this list i am sure no one would mind! On 12/13/06, Tony Cappellini <[EMAIL PROTECTED]> w

Re: [python-win32] Python-win32 Digest, Vol 45, Issue 13

2006-12-13 Thread Tony Cappellini
wonderful Python-ish API on how to access for example Outlook Express You can go to the Microsoft MSDN site and look for the VBA reference for Outlook Express. In particular, search for the Outlook Express Object Hierarchy chart/reference. Without knowing this, the API's are pretty hard to use, u

  1   2   >