[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 ---

Re: [python-win32] windows event log

2018-11-09 Thread Bob Gailer
uot;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
t;.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

[python-win32] What is happening with bug report 727?

2016-12-17 Thread bob gailer
This has been plaguing me for months. I was surprised today to find only one entry for this problem, reported 08/02/2016, with no comments (other than mine). Please let me know the status, and ideally when it will be fixed. ___ python-win32 mailing li

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 pyinstaller > > I tried ma

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" 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: Traceback

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

2014-03-29 Thread bob gailer
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: Traceback (most recent call last): File "C:\Python33\Lib\site-packages\pythonwin\pywin\framework\intpyapp.py", line 335, in OnFileCheck scriptutils.Ch

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

2012-04-20 Thread bob gailer
sults File "D:\Python27\lib\bdb.py", 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

[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] 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] 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
hon27\Lib\site-packages\pythonwin\pywin\tools\hierlist.py", line 60, in __getattr__ return getattr(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] 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
hon27\Lib\site-packages\pythonwin\pywin\tools\hierlist.py", line 60, in __getattr__ return getattr(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 _

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

2009-06-17 Thread bob gailer
Not sure what 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] 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
dll 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] Releasing a Com object

2009-01-20 Thread bob gailer
? "can’t 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

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] DDE: python server/excel client - pass array?

2008-12-24 Thread bob gailer
r a binary array. Any ideas on either of the following two questions would be greatly appreciated: a) how I could use the current dde module to pass in something Excel could read; b) what extra code would need to be added to the dde module to pass back arrays

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

2008-11-19 Thread bob gailer
ed that for use "... 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] 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

Re: [python-win32] scripting pythonwin

2008-07-13 Thread bob gailer
ers mean. I assume if I had the appropriate header file I'd have access to the values of the named constants. How do I get that file? Is there a tutorial re MFC that might make it easier? Thanks for your help. -- Bob Gailer 919-636-4239 Chapel Hill, NC _

Re: [python-win32] scripting pythonwin

2008-07-12 Thread bob gailer
IDE. Next step is to save the configuration upon exiting so I can restore it at next startup. MFC documentation will take some time to comprehend, as it is written for C++ / NET rather than Python. If you want to control pythonwin, then its another story. That is the story I am writing! --

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 t

[python-win32] scripting pythonwin

2008-07-12 Thread bob gailer
plitter Any pointers 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] P3K?

2008-06-21 Thread bob gailer
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
with some reasonable delay between connection attempts? -- 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
PythonWin' 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

Re: [python-win32] Concerns with PythonWin documentation

2008-05-28 Thread bob gailer
includes wrong information ;) Cheers, Mark -- 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] Concerns with PythonWin documentation

2008-05-28 Thread bob gailer
Tim Roberts wrote: bob gailer wrote: A few years ago I wrote on this subject and never had a response. Since Tim has put the docs on the Web I revisited them. And I still have questions and concerns. So here goes: ... Under Keyboard Bindings: ... Why is Ctrl+ followed by upper case letters

[python-win32] Concerns with PythonWin documentation

2008-05-28 Thread bob gailer
is Ctrl+d documented? It seems to duplicate 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'

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

2008-05-25 Thread bob gailer
are 2 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 - the spaces issue

2008-05-24 Thread bob gailer
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-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 yo

Re: [python-win32] Request for comments

2008-05-23 Thread bob gailer
for a variety of reasons, so would also like 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] python-win32 Digest, Vol 62, Issue 13

2008-05-15 Thread bob gailer
t back the result of the command executed or i can only redirect it to a file. Thanks, Siddhartha ___ python-win32 mailing list python-win32@python.org http://mail.python.org/

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 qu

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/ma

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:

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

2008-02-04 Thread bob gailer
e 4") Traceback (most recent call last): File "", line 1, in File "", line 2, in Eval com_error: (-2147352567, 'Exception occurred.', (0, 'Python COM Server Internal Error', "Unexpected Python Error: : Objects of type 'dict' can not

[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 Hil

Re: [python-win32] Python ADO and Date Time Field in Access

2008-01-25 Thread bob gailer
t's in the field? Note, there could be any legal > date time in the field - I'm trying in all cases to get exactly what's > in the field...or to put it another way, exactly what I see when I open > Access and look. > > Thanks very much, > > Lee G > ___

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 conta

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 Regar

Re: [python-win32] MS Word and Python - how to disable SaveAs event?

2007-12-14 Thread bob gailer
Wojtek P wrote: > Hello! > > I try use Microsoft Word and OpenOffice with Python - and i have some > problems. How to disable "Save As" in word from python code, or how to > cancel this function when user use it? This code below doesn't work :/ > > wxPython 2.8.4.2 > Python 2.4.

Re: [python-win32] Python and Excel via Cron

2007-11-21 Thread bob gailer
Jd H wrote: > Hello, > > I have the below python code which opens an excel sheet, runs a macro > then save the file. When run from python it runs perfectly. Code is > below. File name is test.py > > <<< > from win32com.client import Dispatch > > myExcel = Dispatch('Excel.Application') > my

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 c

Re: [python-win32] want to leave DOS console at any target dir

2007-11-19 Thread bob gailer
Charlie wrote: > When launching a python script from a DOS console, > I can not find a way to leave the DOS console at a working directory > other than the initial working directory. > Why do you want to do this? Might there be other approaches? __

Re: [python-win32] Threading Issue

2007-07-04 Thread Bob Gailer
ed 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
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 Gai

Re: [python-win32] C# Vs Python

2007-04-02 Thread Bob Gailer
e) sh = wb.Sheets(1) etc. There are various GUI toolkits available. I've 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] Wiki

2007-03-05 Thread Bob Gailer
"Click the :: options 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
Roger Upole wrote: > Bob Gailer wrote: > >> Tim Golden wrote: >> >>> [Bob Gailer] >>> >>> >>>> OK. I don't know whether its running in a thread. I made no >>>> changes that I'm aware of that would ca

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 ther

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

2006-12-29 Thread Bob Gailer
Tim Golden wrote: > [Bob Gailer] > >> OK. I don't know whether its running in a thread. I made no >> changes that I'm aware of that would cause the change in >> behavior. I will add the call to pythoncom.CoInitialize. I am >> not familiar with this

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

2006-12-28 Thread Bob Gailer
Roger Upole wrote: > Bob Gailer wrote: > >> I'm running this under my Apache2triad mod_python installation. >> Yesterday it was working. Today it is not. >> In the Apache config mptest.py is defined as the request handler. When >> called via

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

2006-12-28 Thread Bob Gailer
ic.py", line 78, in _GetGoodDispatch IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx, pythoncom.IID_IDispatch) com_error: (-2147221008, 'CoInitialize has not been called.', None, None) Trying the same thing in the PythonWin interactive window - it works just f

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

2006-12-16 Thread Bob Gailer
ent model. 6 Multistream Pipelines is also VERY important. This is one of the extensions over unix pipes. -- Bob Gailer 510-978-4454 ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Python Windows on Wikipedia

2006-12-15 Thread Bob Gailer
nternational). I heard a lot of talk about branding, but no explanation of how it would apply to a software product. I always thought it was something one applied to hard goods. Then I realized that it applied to the software I was developing. So now I cherish the concept. How do you see Pytho

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

2006-12-14 Thread Bob Gailer
t 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? -- Bob Gailer 510-978-4454 ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

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

2006-12-04 Thread Bob Gailer
python, and pass command line arguments. Retrieve them in Python using: import sys sys.argv # is a list of the arguments. > Also, I suppose that Python can hold infinitely (almost) long strings, like > a 400 page document? > Limited only by

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

2006-11-27 Thread Bob Gailer
appended. Hope that's enough to get you started. Since your goal seems to be text processing I'd think you'd want to read the entire document text into a Python string, then manipulate that. text = document.Range().Text will get all the text of the document body. (excludes heade

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

2006-11-24 Thread Bob Gailer
lines of VBA for Word and Access. Of course I prefer Python when I can use it. -- Bob Gailer 510-978-4454 ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

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

2006-11-23 Thread Bob Gailer
, but again; the only thing > I'm after is a bunch of small commands for me to try out so I can > automate Excel from within Python. So try the above code sample and see what happens. The DOM is documented in MSDN at: See http://msdn.microsoft.com

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] Excel COM-object for cursor position

2006-11-22 Thread Bob Gailer
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

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

2006-11-17 Thread Bob Gailer
ly get more help if you tell us what 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

Re: [python-win32] Excel and OLEObjects

2006-10-30 Thread Bob Gailer
n Excel for what I want to do it comes out as: > > Sub Macro1() > ' > ' Macro2 Macro > ' Macro recorded 30/10/2006 by Mark > ' > > ' > ActiveSheet.OLEObjects.Add(Filename:="C:\mytext.txt", Link:=False, _ > DisplayAsIcon:=Fa

Re: [python-win32] Waiting for Wireless

2006-10-25 Thread Bob Gailer
Tim Roberts wrote: > As a self-proclaimed studly That sent me to the dictionary! Very interesting. Thanks for a new word. -- Bob Gailer 510-978-4454 ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/pyt

Re: [python-win32] Excel corrupted display problem

2006-08-17 Thread Bob Gailer
t; display area is useless. > Is there any cure to this? > I have dealt with this a lot. The "cure" is somewhere in Redmond, but probably too low a priority for Microsoft. Sigh. The only workaround I know is to kill the excel process. -- Bob Gailer 510-978-4454 ___

Re: [python-win32] pywintypes24.dll necessary??

2006-06-22 Thread Bob Gailer
ste. You can Mark by dragging a selection rectangle with the mouse, Copy the selection by hitting Enter, and paste by right clicking. 2 - Create a batch file containing all the messy path and file names. Have the user run the batch file. User can do that from the Ex

Re: [python-win32] Code help (Aleksandar Cikota)

2006-04-09 Thread Bob Gailer
Justin Ezequiel wrote: > FocusMax.FocusControl.Focus starts the auto focus operation and returns when > Focus is complete. This Method has the same effect as if the user clicked > the Focus button on the Focus tab (in FocusMax), but there is no reaction > and I don't get any error message. > > Pyt

Re: [python-win32] Runnin Python app as service with separate console

2006-04-05 Thread Bob Gailer
Morgan, Byron wrote: > I have a robust, stable Python script that runs 24-7, crunching a telnet > feed of real-time data. Problem is, it has to run in a dos console > window on the desktop. I would like to run it as a service, and be able > connect to it and monitor performance with a separate cons

Re: [python-win32] R: Acrobat Reader

2006-04-05 Thread Bob Gailer
Mirco Furlan (Visionee) wrote: > here my code: > > import win32com.client > > pdf = win32com.client.Dispatch('AcroPDF.PDF') > pdf.LoadFile(r'K:\test.pdf') > > Boy Don't Try This At Home. I did and got the BSOD! ___ Python-win32 mailing list Python-win3

Re: [python-win32] IE toolbar button in Python

2006-03-08 Thread Bob Gailer
Roger Upole wrote: > > There's an IE toolbar button demo in CVS: > http://cvs.sourceforge.net/viewcvs.py/pywin32/pywin32/com/win32com/demos/iebutton.py?rev=1.1&view=log > I looked at this, but can't figure out what to do with it. Are there any instructions? What seems apparant is that it cre

Re: [python-win32] Thanks ; Merci

2006-03-05 Thread Bob Gailer
> > There have been some references to "ietoolbar.py". I have searched in my > pythonwin install and not found it. Where can I find it? ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Reading properties from office builtin dialogs?

2006-01-31 Thread Bob Gailer
Anders Quist wrote: > I have an application that wants to print a large set of documents. > Therefore, I want to have word display its print dialog so the user > can supply printer settings once, that I can read and store for use > with all following prints. > > At first glance, this would seem str

Re: [python-win32] Unable to set an Excel chart's titl ethrough win32com : can you reproduce this problem ?

2005-06-29 Thread Bob Gailer
reference > (which may be tied to its current location...) > > > Gabriel Genellina > Softlab SRL __ Save the earth http://pr.mail.yahoo.co.jp/ondanka/ ___ Python-win32 mailing list Python-win32@python.org http://ma

[python-win32] COM access to Mozilla Firefox

2005-06-09 Thread Bob Gailer
What is the application name for Mozilla Firefox (to be used in win32com.client.Dispatch())? Where is documentation as to what properties/methods are available? Ditto on last question for Internet Explorer. Bob Gailer mailto:[EMAIL PROTECTED] 510 558 3275 home 720 938 2625 cell

Re: [python-win32] Bug with system()/popen() ?

2005-05-13 Thread Bob Gailer
toise SVN\x08in\\TortoiseProc.exe"/command:update /path:"C:\\Temp\\Test" /notempfile /closeonend' Notice something odd? What happened to the \b? From the Refernce Manual: "Unless an "r" or "R" prefix is present, escape sequences in strings are interpret

Re: [python-win32] Excel and Graphing

2005-05-05 Thread Bob Gailer
  raise     print "Error Occurred writing data"     xl.ActiveWorkbook.Close(SaveChanges=1)     #Close the workbook     xl.Quit     del xl Any suggestions as to what exactly I am doing wrong? Eric B. Powell E&GIS BSRI (803)952-7783 When a true genius appears in this world

Re: [python-win32] How Can I exec() a statement?

2005-04-06 Thread Bob Gailer
lutions than exec. Tell us a bit more about what you are trying to accomplish. Bob Gailer mailto:[EMAIL PROTECTED] 510 558 3275 home 720 938 2625 cell ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

[python-win32] Prob

2005-03-12 Thread Bob Gailer
What dos this error mean? and what do I need to do to fix it? Pywin32 Extensions build 203 "Can't load Python for preinstalled script" Bob Gailer mailto:[EMAIL PROTECTED] 510 558 3275 home 303 442 2625 cell ___ Python-win32 mailing li

Re: [python-win32] Re: Damaged Pythonwin installation

2004-12-20 Thread Bob Gailer
'\\' + key print i,':', subKey2 win32api.RegDeleteKey(win32con.HKEY_CURRENT_USER,subKey2) if i>9: break k.Close() print len(keys),"deleted." Do NOT run this from within Python win. Use a command prompt or another I

Re: [python-win32] A Python Service that monitors the clipboard?

2004-12-11 Thread Bob Gailer
discusses clipboard management. Bob Gailer [EMAIL PROTECTED] 303 442 2625 home 720 938 2625 cell ___ Python-win32 mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/python-win32