Re: [python-win32] Uninstallation Command Required

2023-09-20 Thread Bob Kline
issue. > > SUMMARY: Need a proper uninstall command for windows > > Thanks in advance. > ___ > python-win32 mailing list > python-win32@python.org > https://mail.python.org/mailman/listinfo/python-win32 > -- Bob Kline https://

Re: [python-win32] Object type puzzle

2023-01-07 Thread Bob Kline
tion does ring a bell). As time goes on, the ratio of what I once knew but have forgotten to what I still remember changes faster than I'd like. ⏳ Your memory, on the other hand, seems to be doing just fine.  Cheers, Bob ___ python-win32 mailin

Re: [python-win32] Object type puzzle

2023-01-07 Thread Bob Kline
the message that I sent, but was added by the mailing list, making it look as if that paragraph might have been part of the quoted message to which I was replying, instead of what it actually was (part of my own reply). Cheers, Bob ___ python-win32 ma

Re: [python-win32] Object type puzzle

2023-01-04 Thread Bob Kline
avigation the scripting engine would do. Again, thanks for all your patient help. The fact that this project has successfully reached the point of user acceptance testing owes a lot to your generous and capable assistance.  Gratefully, Bob ___ python-win

[python-win32] Object type puzzle

2023-01-03 Thread Bob Kline
xplanation for the mystery which has eluded me? Thanks, Bob Kline ___ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Windows scripting can't find _ctypes

2022-12-19 Thread Bob Kline
On Mon, Dec 19, 2022 at 9:40 AM Bob Kline wrote: > > Anyone else stumbled onto this problem? I found a solution. If I add e:\Python\DLLs to the PYTHONPATH environment variable, Windows script is able to import the ctypes module. I would appear that something has changed in the communi

[python-win32] Windows scripting can't find _ctypes

2022-12-19 Thread Bob Kline
I just ran into a snag after upgrading to Python 3.11.1. Running Python 3.10.1 the ctypes module imports with no problems. Same under Windows scripting using the pywin32 package. With 3.11.1 importing ctypes directly still works. However, under Windows scripting using the pywin32 package "import

Re: [python-win32] Memory access violation using pywin32 as WSH

2022-11-30 Thread Bob Kline
how grateful I am for your patient assistance. And (of course) for creating this package in the first place.  Many thanks, Bob ___ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Memory access violation using pywin32 as WSH

2022-11-30 Thread Bob Kline
On Tue, Nov 29, 2022 at 6:19 PM Mark Hammond wrote: > > On 30/11/2022 3:06 am, Bob Kline wrote: > >> As a side note, imp.new_module() [3] was deprecated back in Python 3.4. > > Yep, you are looking at a very old version. True, but I checked HEAD for the main br

Re: [python-win32] Memory access violation using pywin32 as WSH

2022-11-30 Thread Bob Kline
ts tag was missing its right angle bracket delimiter. IE may have been tolerant of that broken syntax at some time in the past, but it doesn't accept it now.) Cheers, Bob ___ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Memory access violation using pywin32 as WSH

2022-11-30 Thread Bob Kline
ing to get my debug logging was the real thing, installed by pip. I'm suitably embarrassed that I didn't notice that they didn't match. > ... when I say I'm hoping to see a stack trace, I mean a native stack trace I'll see what I can do to produce one. Thanks, Bob

Re: [python-win32] Memory access violation using pywin32 as WSH

2022-11-29 Thread Bob Kline
* Application * FormFuncs * ResourceManager So at least part of that puzzle is cleared up, though it's still somewhat unsettling that only seven calls to ScriptItem.Close() are made, regardless of how many ScriptItem objects have been instantiated during a session. Cheers, Bob

Re: [python-win32] Memory access violation using pywin32 as WSH

2022-11-29 Thread Bob Kline
me know if anything else stands out as potentially useful in the logs. Cheers, Bob [1] https://github.com/SublimeText/Pywin32/blob/master/lib/x64/win32comext/axscript/client/pyscript.py#L353 [2] https://github.com/SublimeText/Pywin32/blob/master/lib/x64/win32comext/axscript/client/pyscri

Re: [python-win32] Memory access violation using pywin32 as WSH

2022-11-29 Thread Bob Kline
f at logoff time when the OS forces the application to let go and really shut down. Any advice you can provide to help me get a better understanding of how the moving parts interact and what I should try next would be immensely appreciated. Many thanks, Bob ___ pyt

Re: [python-win32] Memory access violation using pywin32 as WSH

2022-11-28 Thread Bob Kline
On Mon, Nov 28, 2022 at 4:12 PM Bob Kline wrote: > > Perhaps, for example, I'll be able to find something which is supposed > to get released at application shutdown time but which isn't. I've added some debug logging to the top of most methods in pyscript.py, mostly just a

[python-win32] Memory access violation using pywin32 as WSH

2022-11-28 Thread Bob Kline
r where to start? Anyone else run into similar memory access violations using Python as a Windows Scripting Host? Many thanks! -- Bob Kline https://www.rksystems.com mailto:bkl...@rksystems.com ___ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32

[python-win32] Dispatch in multiple process?

2020-11-20 Thread Bob Fang
is: pywintypes.com_error: (-2146959355, 'Server execution failed', None, None) Thanks! Bob ___ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32

[python-win32] Server Exectuion Failed

2020-11-12 Thread Bob Fang
Hi, I have an application which utilise win32com to control a software (powerworld if you know what it is). Once I have dispatched a new object I can see in task manager there is a new process created which is running and I can call command through the win32com object -- this is what I want to do

[python-win32] proper coding declaration

2019-03-04 Thread bob gailer
my python file starts with # -*- coding: utf-8 -*- There is a unicode character 2501 in the file I am editing with python for windows 3.7 build 224 Saving the file results in an error: 'latin-1' codec can't encode character \u2501 What am I doing wrong? -- Bob Gailer --- This email has

Re: [python-win32] windows event log

2018-11-09 Thread Bob Gailer
"BGT Monitoring Log".encode("ascii")) > > > > result is: Objects of type 'bytes' can not be converted to Unicode. > > > > what can i do? > And get rid of " encode("ascii")' Bob Gailer ___ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] windows event log

2018-11-09 Thread Bob Gailer
quot;.encode("ascii")) > > result is: Objects of type 'bytes' can not be converted to Unicode. > > what can i do? Provide the entire traceback. Bob Gailer ___ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Bug reporting

2018-02-25 Thread Bob Kline
hould really let Vernon say what he means for #2. Regards, Bob ___ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Bug reporting

2018-02-25 Thread Bob Kline
Assuming the effort to clean up the rough edges of the ADODB-base package goes smoothly we'll probably stick with what we're using, at least for the immediate future. But thanks for the suggestion. You never know. :-) -- Bob Kline http://www.rksystems.com mailto:bkl...@rksy

Re: [python-win32] Bug reporting

2018-02-25 Thread Bob Kline
On Sun, Feb 25, 2018 at 12:31 AM, Mark Hammond <mhamm...@skippinet.com.au> wrote: > I'm afraid Bob is going to get quite frustrated if he gets upset about > responses taking more than a few days to come in. I'm going to assume you hadn't yet read the thread leading up to Vernon's

[python-win32] Parameters in adodbapi [was Re: Bug reporting]

2018-02-24 Thread Bob Kline
On Wed, Feb 21, 2018 at 7:12 PM, Bob Kline <bkl...@rksystems.com> wrote: > The solutions (for the two bugs my patch attempted to address) which > come immediately to mind include: Here's what I think I've been able to determine at this point. 1. The adodbapi package uses tw

Re: [python-win32] Bug reporting

2018-02-21 Thread Bob Kline
On Wed, Feb 21, 2018 at 10:26 AM, Bob Kline <bkl...@rksystems.com> wrote: > Without the patch, SQL Server is unable to store a NULL value or an > empty string properly using placeholders. So we need to find out why > that is, and come up with a version of the patch which fix

Re: [python-win32] Bug reporting

2018-02-21 Thread Bob Kline
ericScale: 0 Name: p1, Dir.: Input, Type: adInteger, Size: 0, Value: "1", Precision: 0, NumericScale: 0] -------------- Ran 143 tests in 35.413s FAILED (errors=1) Thanks, Bob On Wed, Feb 21, 2018 at 7:31 AM, Bob Kline <bkl...@rksystems.com> wrote: > Hi,

Re: [python-win32] Bug reporting

2018-02-21 Thread Bob Kline
- Ran 103 tests in 8.394s FAILED (failures=1) I get the same failure if I use a more modern .accdb file. Again, I apologize for this blunt message, but you've done some good work on this package, and it's worth getting it back on the road. Regards, Bob Kl

Re: [python-win32] Bug reporting

2018-02-19 Thread Bob Kline
it wouldn't work to maintain the project just on GitHub (under pywin). Or perhaps you intended some third interpretation of "good plan." Cheers, Bob > > On Feb 19, 2018 04:57, "Bob Kline" <bkl...@rksystems.com> wrote: >> >> On Mon, Feb 19, 2018 at 2:2

Re: [python-win32] Bug reporting

2018-02-17 Thread Bob Kline
file (without which adodbapi can't load) not in the GitHub repo? Thanks, Bob On Sat, Feb 17, 2018 at 6:20 PM, Bob Kline <bkl...@rksystems.com> wrote: > Thanks for the tip, Max. I added a review to the SourceForge page so I > could help others avoid wasting time there (I didn't fi

Re: [python-win32] Bug reporting

2018-02-17 Thread Bob Kline
Thanks for the tip, Max. I added a review to the SourceForge page so I could help others avoid wasting time there (I didn't find any other clues on the page about the move), and I submitted the patch I had posted there as a pull request on GitHub. Cheers, Bob On Sat, Feb 17, 2018 at 2:29 PM, Max

[python-win32] Bug reports

2018-02-17 Thread Bob Kline
[3] https://sourceforge.net/p/adodbapi/bugs/27/ -- Bob Kline http://www.rksystems.com mailto:bkl...@rksystems.com ___ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] win32 printer

2017-11-28 Thread Bob Hood
I don't know specifically what is wrong with your script, but I wanted to chime in here and confirm that it also failed to print anything for me.  No error messages, nothing in the printer queue, and nothing printed. On 11/28/2017 10:19 AM, Richard Peeters wrote:  Hello, I'm new to Python

Re: [python-win32] datetime values in adodbapi

2017-11-08 Thread Bob Kline
with sub-second precision stripped (or rounded away) and store that value. That way, at the cost of some precision, I'll be able to guarantee that Python 2 and Python 3 code (any code, really) will get the same value from the database. In this particular instance, the consistency is worth more than the prec

Re: [python-win32] datetime values in adodbapi

2017-11-07 Thread Bob Kline
On Tue, Nov 7, 2017 at 10:11 AM, Vernon D. Cole <vernondc...@gmail.com> wrote: > Obviously Bob has found a where a value an internal form blows up when fed > directly back into an INSERT. I suspect that if his row.date value was run > through a real datetime object that things

Re: [python-win32] datetime values in adodbapi

2017-11-07 Thread Bob Kline
ython library datetime objects for non-NULL values retrieved from SQL Server DATETIME columns, so that's what row.d is. The fact that the printed representation of the value has trailing zeros reflects the default formatting for datetime objects. -- Bob Kline http://www.rksystems.com mailto:bkl...

Re: [python-win32] datetime values in adodbapi

2017-11-06 Thread Bob Kline
B3182545) - 13.0.4001.0 (X64) Oct 28 2016 18:17:30 Developer Edition on Windows Server 2012 R2 -- Bob Kline http://www.rksystems.com mailto:bkl...@rksystems.com ___ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] datetime values in adodbapi

2017-11-06 Thread Bob Kline
On Mon, Nov 6, 2017 at 9:59 AM, Vernon D. Cole <vernondc...@gmail.com> wrote: > On Sat, Nov 4, 2017 at 6:27 AM, Bob Kline <bkl...@rksystems.com> wrote: >> >> The adodbapi package does not seem to handle datetime values > > Y You hit the Send button too

[python-win32] datetime values in adodbapi

2017-11-05 Thread Bob Kline
3.x). Before I dig in to do the work, though, I want to check in here to make sure patches are accepted so I don't spend time on something that's not wanted. Thanks! -- Bob Kline http://www.rksystems.com mailto:bkl...@rksystems.com ___ python-win3

[python-win32] import dde failure; server Create failure

2017-03-27 Thread Bob Klahn
I'm running 64-bit Python 2.7.13 under Windows 7, and I've installed build 220 of Mark Hammond's package. When I try this: import win32ui, dde from a Windows 7 command window, I receive the message "This must be an MFC application - try 'import win32ui' first". I get the same message

[python-win32] Fwd: import dde failure; server Create failure

2017-03-27 Thread Bob Klahn
I sent the note below before subscribing to this list. Not knowing if one has to be a subscriber first and a sender second, i.e., not knowing if my note below made it to the list, I've decided that I'd better send this out the door again. Forwarded Message Subject:

[python-win32] Is SHChangeNotifyRegister implemented?

2016-09-23 Thread Bob Hood
I'm using Python 2.x with pywin32 2.18. I noticed the SHChangeNotifyRegister flags in win32comext\shell\shellcon.py, but I don't find any references in any of the remaining Python files or demos that reference this function. Has it been implemented? If so, can anybody point me at an example?

Re: [python-win32] win32com.server failure: Is debugging possible?

2016-08-28 Thread Bob Hood
On 8/27/2016 12:02 PM, eryk sun wrote: On Sat, Aug 27, 2016 at 2:19 PM, Bob Hood <bho...@comcast.net> wrote: From what I can tell, it's not actually a crash. It appears to be an exit() with a result of 1, so it's not going to be easy to track down. Break on ntdll!RtlExitUserProcess to

Re: [python-win32] win32com.server failure: Is debugging possible?

2016-08-27 Thread Bob Hood
On 8/25/2016 9:36 PM, eryk sun wrote: On Fri, Aug 26, 2016 at 12:42 AM, Bob Hood <bho...@comcast.net> wrote: Any suggestions as to how I could determine the cause of the crash without having to uninstall ALL of my software? Configure a postmortem debugger [1] (e.g. windbg -I). Use

[python-win32] win32com.server failure: Is debugging possible?

2016-08-25 Thread Bob Hood
I have a situation where I'm using win32com.server to create an in-process Explorer shell extension for Windows (7 64-bit). The extension itself is just a sample I pulled from stackoverflow[1]. When I install it, and restart Explorer, opening the context menu on a file causes Explorer to

Re: [python-win32] Python 3 - Windows Service

2016-05-13 Thread Bob Gailer
On May 13, 2016 6:38 AM, "David Hautbois" wrote: > > Hi > > I passed all this week to get a Python Windows Service running. > But, I failed > > I tried Windows 2003 and Windows 2012 R2. > I installed python 3.4.4 x86 > > I installed pypiwin32 with pip : > pip install

Re: [python-win32] Is there a _simple_ way to find out what version of Windows you are running?

2015-10-08 Thread Bob Hood
On 10/8/2015 3:56 AM, Laura Creighton wrote: Hi, I am one of the python.org webmasters. We get people -- often children who want to install python on their computers but don't know what OS they are running. Nearly all of these people are running Windows, though I did get somebody who was

Re: [python-win32] PyParallel - an experimental multicore fork of Python 3 for Windows

2015-07-31 Thread Bob Hood
On 7/31/2015 2:14 PM, Trent Nelson wrote: Hi folks, Bit off-topic, but just wanted to let people know about an experimental proof-of-concept fork of Python 3 I've been working on for the past couple of years called PyParallel: http://pyparallel.org. It essentially gets around the GIL

Re: [python-win32] Storing Passwords.

2015-01-19 Thread Bob Hood
On 1/19/2015 7:48 AM, Paul Koning wrote: On Jan 19, 2015, at 7:27 AM, Bob Hood bho...@comcast.net wrote: On 1/19/2015 12:07 AM, Tim Roberts wrote: On Jan 18, 2015, at 12:11 PM, Alp Tunga Özkul alptungaz...@hotmail.com wrote: As far as i know Username + Password =(MD5/SHA) Hash

Re: [python-win32] Storing Passwords.

2015-01-19 Thread Bob Hood
On 1/19/2015 12:07 AM, Tim Roberts wrote: On Jan 18, 2015, at 12:11 PM, Alp Tunga Özkul alptungaz...@hotmail.com mailto:alptungaz...@hotmail.com wrote: As far as i know Username + Password =(MD5/SHA) Hash. And it is irreversible. I need the actual Username and Password to login to Servers

Re: [python-win32] Interactive Code to Script File

2014-09-16 Thread Bob Hood
Hi, DJ. On 9/16/2014 1:13 PM, DJ Webre wrote: I am trying to convert a program from interactive to script file. The program consists of the following 2 lines: import webbrowser webbrowser.open_new('http://www.google') When I run it interactively, it works but if I run it as a scrip

Re: [python-win32] Python version itself

2014-05-11 Thread Bob Hood
On 5/11/2014 2:39 PM, Jacob Kruger wrote: I have thus far been working with python 2.7, for no particular reason aside from that it's been stable/comfortable/usable from when I really got going with python, but, while think latest release version of python is something like 3.4, what are the

Re: [python-win32] context_menu.py crashing Explorer

2014-04-17 Thread Bob Hood
On 4/16/2014 7:48 PM, Mark Hammond wrote: As far as seeing the print statements, you can modify the source file to have import win32traceutil at the top, and in another console run python -m win32traceutil - the print statements from the source file should them appear in the console running

[python-win32] context_menu.py crashing Explorer

2014-04-15 Thread Bob Hood
Hi, everybody. I'm having an issue with the context_menu.py example included with pywin32 (2.18) under Python 2.7.6. I register it by running it (python context_menu.py --register), but then, when I right-click on a Python file, my Explorer process terminates. I've tried variations (some

Re: [python-win32] Problem with Check: can't decode byte 0x90

2014-03-30 Thread bob gailer
in that code I assume something else will break. I will file a bug report. bob gailer bgai...@gmail.com wrote in message news:53373d8f.8050...@gmail.com... My program loads into an edit window and runs fine. Top line : # -*- coding: utf-8 -*- However when I invoke check (shift-ctl-c) I get

[python-win32] if self.quitting: raise BdbQuit

2012-04-20 Thread bob gailer
, line 48, in trace_dispatch return self.dispatch_line(frame) File D:\Python27\lib\bdb.py, line 67, in dispatch_line if self.quitting: raise BdbQuit BdbQuit Why? What does this mean? -- Bob Gailer 919-636-4239 Chapel Hill NC ___ python-win32

[python-win32] Problem with PythonWin 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] on win32.

2012-04-06 Thread bob gailer
(self.listControl, attr) RuntimeError: maximum recursion depth exceeded There is an extra period after the one I typed. Can this be fixed? -- Bob Gailer 919-636-4239 Chapel Hill NC ___ python-win32 mailing list python-win32@python.org http

[python-win32] Minor irritant

2012-04-06 Thread bob gailer
Every time I open a file for editing the tab key starts out at 4 spaces even though I have set Tab size and Indent Size to 2 in Options. I must use alt+u to change it. -- Bob Gailer 919-636-4239 Chapel Hill NC ___ python-win32 mailing list python

[python-win32] Another minor irritant.

2012-04-06 Thread bob gailer
In the watch window ctrl-x,c,v do not work (for cut copy and paste). I must use the context menu. -- Bob Gailer 919-636-4239 Chapel Hill NC ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

[python-win32] Problem with PythonWin 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] on win32.

2012-04-05 Thread bob gailer
(self.listControl, attr) RuntimeError: maximum recursion depth exceeded There is an extra period after the one I typed. Can this be fixed? -- Bob Gailer 919-636-4239 Chapel Hill NC ___ python-win32 mailing list python-win32@python.org http

[python-win32] Installer crashes on embedded system.

2010-03-24 Thread Bob Cowdery
by Sansung. I'm installing pywin32-214.win32-py2.6.exe and it just throws up the standard 'has encountered a problem' dialog. Python 2.6.4 installed without problems. Does anyone have any ideas? Regards Bob ___ python-win32 mailing list python-win32@python.org

Re: [python-win32] regarding invoking command prompt using python

2009-06-17 Thread bob gailer
that means. Please explain. -- Bob Gailer Chapel Hill NC 919-636-4239 ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

[python-win32] win32job.SetInformtionJobObject usage -- what am I doing wrong?

2009-05-26 Thread Bob Erb
The job's JobMemoryLimit isn't changed. Hope you can help. Thank you. - Bob ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

[python-win32] BUG? Edit - Replace does not work in interactive window.

2009-02-01 Thread bob gailer
BUG? Edit - Replace does not work in interactive window. -- Bob Gailer Chapel Hill NC 919-636-4239 ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

[python-win32] Bug? Can't resize watch window when displayed on 2nd monitor.

2009-01-30 Thread bob gailer
Bug? Can't resize watch window when displayed on 2nd monitor. -- Bob Gailer Chapel Hill NC 919-636-4239 ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Releasing a Com object

2009-01-20 Thread bob gailer
this? "cant release" - what does that mean? Certainly xxx no longer refers to the object. Thanks Gary # example xxx = win32com.client.Dispatch('abcd.XXX') # to release xxx = None -- Bob Gailer Chapel Hill NC 91

Re: [python-win32] Releasing a Com object

2009-01-20 Thread bob gailer
com objects I have used in the past have had this problem. Excel behaves that way also. One must explicitly tell Excel to quit, as in excelObj.quit(). Does your dll have an equivalent? Or take a look at psTools for ways to kill processes. -- Bob Gailer Chapel Hill NC 919-636-4239

Re: [python-win32] DDE: python server/excel client - pass array?

2008-12-30 Thread bob gailer
Why oh why are you using DDE when there are newer and better ways??? -- Bob Gailer Chapel Hill NC 919-636-4239 ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] getting integer value for worksheet.Cells(row, col).Value

2008-11-19 Thread bob gailer
... in a Visual Basic module You are using Val as part of a Python expression, and Python does not know Val. Has nothing to do with COM. Try int instead of Val. -- Bob Gailer Chapel Hill NC 919-636-4239 ___ python-win32 mailing list python-win32@python.org

[python-win32] Watch window

2008-08-19 Thread bob gailer
for the pointers regarding running a script at startup and moving/sizing windows. I now have 8 windows magically appearing each time I start PyWin. -- Bob Gailer Chapel Hill NC 919-636-4239 I now When we take the time to be aware of our feelings and needs we have more satisfying

[python-win32] scripting pythonwin

2008-07-12 Thread bob gailer
are welcome. -- Bob Gailer 919-636-4239 Chapel Hill, NC ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] scripting pythonwin

2008-07-12 Thread bob gailer
Stef Mientki wrote: bob gailer wrote: How can I learn to script pythonwin? I'd like to start with a script that would open an existing .py file in an edit window, then do various things such as: set the window size and position scroll the text position the cursor size the class pane

Re: [python-win32] scripting pythonwin

2008-07-12 Thread bob gailer
Marcus Low wrote: Bob, Do you mean u want to control pythonwin ide itself as somekind of automation? Yes. I already accomplished my first goal based on what Mark told me, a program to open, size position 5 py file edit windows - something I was doing by hand each time I started the IDE

Re: [python-win32] P3K?

2008-06-21 Thread bob gailer
. On and on ... Now Python. Still longing for a way to integrate some aspects of APL into Python. -- Bob Gailer 919-636-4239 Chapel Hill, NC ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Service does not start at windows boot but at user's login

2008-06-04 Thread bob gailer
? -- Bob Gailer 919-636-4239 Chapel Hill, NC ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] pywin32 build 211 released

2008-05-31 Thread bob gailer
' for further copyright information. Pythonwin.exe File Version is 2.5.211.0 What's wrong? -- Bob Gailer 919-636-4239 Chapel Hill, NC ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

[python-win32] Concerns with PythonWin documentation

2008-05-28 Thread bob gailer
the current line! Are there other undocumented useful key bindings? -- Bob Gailer 919-636-4239 Chapel Hill, NC ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Request for comments - the spaces issue

2008-05-27 Thread bob gailer
Tim Roberts wrote: bob gailer wrote: Mark Hammond wrote: In general, I *try* and stick to the Python Style Guide (http://www.python.org/dev/peps/pep-0008/) Interesting. I don't like the idea of 2 spaces after a period. Internet research on this topic seems to favor one space. I'm not sure

Re: [python-win32] Request for comments - the spaces issue

2008-05-25 Thread bob gailer
spaces after periods, otherwise 1 space. That seems inconsistent. -- Bob Gailer 919-636-4239 Chapel Hill, NC ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Request for comments

2008-05-24 Thread bob gailer
Tim Roberts wrote: bob gailer wrote: Please omit the space before ( in code. I find that very distracting. Example: print result.Properties_ (sValue).Value # current print result.Properties_(sValue).Value # preferred, and how most code I've seen looks. Do you understand

Re: [python-win32] Request for comments - the spaces issue

2008-05-24 Thread bob gailer
that I was replying to the original post. So I referred to you as Tim. Sorry for that. -- Bob Gailer 919-636-4239 Chapel Hill, NC ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Request for comments

2008-05-23 Thread bob gailer
some guidance rather than just go read the source. -- Bob Gailer 919-636-4239 Chapel Hill, NC ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Will wmi can a command on remore host and get the return code

2008-05-15 Thread bob gailer
siddhartha veedaluru wrote: Hi, i'm tring to execute a exe that is placed in the mapped network drive on remote machine it seems it is not getting recognised. How can i run the exe on the mapped network drive Aw come on I'd think by now you'd know how to ask a question. -- Bob

Re: [python-win32] Will wmi can a command on remore host and get the return code

2008-04-30 Thread bob gailer
. Consider MS's SysInternals: http://technet.microsoft.com/en-us/sysinternals/default.aspx PSExec to run the command. -- Bob Gailer 919-636-4239 Chapel Hill, NC ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman

Re: [python-win32] Executing eval function in VBscript

2008-02-04 Thread bob gailer
Tony Cappellini wrote: Date: Mon, 04 Feb 2008 10:05:11 -0500 From: bob gailer [EMAIL PROTECTED] Subject: Re: [python-win32] Executing eval function in VBscript To: Janakiraman Mohanakrishnan [EMAIL PROTECTED] Cc: python-win32@python.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain

[python-win32] Character sets and symbols question

2008-01-29 Thread Bob Gailer
I'm copying from a pdf file. When I paste it in an email it looks like what I want: ├──┬─word:──┬──┤ When I paste it into PythonWin I get: „¥„Ÿ„Ÿ„¦„Ÿword:„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„Ÿ„¦„Ÿ„Ÿ„§ How can I get the nice graphic in PythonWin? -- Bob Gailer 919-636-4239 Chapel Hill, NC

Re: [python-win32] COM automation: problem accessing property of derived object obtained from collection

2008-01-04 Thread bob gailer
Albert Strasheim wrote: Hello all I'm new to the world of COM automation with Python, so please bear with me. I'm trying to automate Golden Software's Surfer 8 [1] using Python. The basics seems to be working fine, but I'm running into a problem when dealing with a collection containing

Re: [python-win32] python and Windows Resource Files.

2007-12-16 Thread bob gailer
Johri, Mayank (GTI) wrote: Hello, I am writing a python program which uses Windows Resources for GUI (i.e. Dialog boxes), does anyone know a good starting point or tutorials to get set values of common controls such as List view, button, textBox etc for it. Thanks and Regards,

Re: [python-win32] Detect when the user launches or closes a program?

2007-11-19 Thread bob gailer
Patrick Li wrote: Hi, I am trying to write a program that will perform some operation on the user's computer when the user launches a particular executable(s) on the computer and when the user closes them. One way to achieve this is by polling the process table periodically and checking

Re: [python-win32] Threading Issue

2007-07-04 Thread Bob Gailer
by the thread -- Bob Gailer 510-978-4454 Oakland, CA 919-636-4239 Chapel Hill, NC ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] C# Vs Python

2007-04-02 Thread Bob Gailer
not done much with them. -- Bob Gailer 510-978-4454 ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] C# Vs Python

2007-04-02 Thread Bob Gailer
James Matthews wrote: Thank you Bob but does python's windows extensions really have the power of the .NET classes Sorry, I know nothing about .NET. Perhaps some other list lurker can speak to that. Or could you provide an example of a .NET class and its usage in C#? -- Bob Gailer 510-978

Re: [python-win32] Wiki

2007-03-05 Thread Bob Gailer
in the Menu for more options. -- Bob Gailer 510-978-4454 ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Dispatch error 'CoInitialize has not been called'

2006-12-29 Thread Bob Gailer
Tim Golden wrote: [Bob Gailer] Yeah, but when I said it was working, it was working in the server! Wednesday AM just fine. Wednesday afternoon suddenly not working fine. I swear I didn't change anything! Is there some way my program can introspect? to see if it is in a thread

Re: [python-win32] Python as scripting glue, WAS Python for sysadmin

2006-12-16 Thread Bob Gailer
Bokverket wrote: Bob Gailer's keyboard emitted: I have under development a Python implementation of IBM's CMS Pipelines, which is in essence a super AKW and Linux/Unix pipes all in 1 package. Would you like to hear more? -- Indeed. NOTES FOR INTERESTED USERS/DEVELOPERS My work is a PC

Re: [python-win32] Compiling a Python Windows application

2006-11-27 Thread Bob Gailer
().Text will get all the text of the document body. (excludes header/footer). Note that paragraph breaks are \r, and that table cells end in \r\x07. -- Bob Gailer 510-978-4454 ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org

Re: [python-win32] Compiling a Python Windows application

2006-11-24 Thread Bob Gailer
way?! I take it that you don't enjoy VB programming. It certainly is more wordy and less flexible than Python, but for relatively small tasks like this not a big deal. I've written 10s of thousands of lines of VBA for Word and Access. Of course I prefer Python when I can use it. -- Bob Gailer 510

Re: [python-win32] Excel COM-object for cursor position

2006-11-22 Thread Bob Gailer
? There are several ways to get stuff from Python into Excel. They include (but not limited to) running Excel as a com object or creating a file that will be read by Excel. What steps have you taken so far? We can help better if we know what route you're taking and how far along you are. -- Bob Gailer 510-978

Re: [python-win32] Excel COM-object for cursor position UPDATE

2006-11-22 Thread Bob Gailer
there is no easy way to simulate keyboard behavior, and the DOM is far more powerful. Bob Gailer 510-978-4454 ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] RE working in interactive but not in regular code

2006-11-17 Thread Bob Gailer
behavior you expect and what you get. won't work does not help us understand. -- Bob Gailer 510-978-4454 ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

  1   2   >