[python-win32] PythonWin on linux under wine

2014-07-18 Thread Peter Fraser
I have tried and failed to like another Python IDE -including the $$ ones. They all feel like they have 'static language envy'. PythonWin does the best job of being an IDE for a *dynamic* language IMO (largely due to the cunning 'psuedo-shell', and also dynamic lookup for 'completion' etc).

Re: [python-win32] Pythonwin IDE hangs on tool menu edits -and workaround

2014-03-31 Thread Mark Hammond
On 31/03/2014 5:16 PM, Peter Fraser wrote: Hello Pywinonauts Pythonwin (pywin32 build218 python 2.7.6) is hanging after I edit the tools menu (or rather; whenever I go to the "Tools menu" tab of "PythonWin Options" and hit OK -I don't need to actually edit anything to provoke the problem) It

[python-win32] Pythonwin IDE hangs on tool menu edits -and workaround

2014-03-31 Thread Peter Fraser
Hello Pywinonauts Pythonwin (pywin32 build218 python 2.7.6) is hanging after I edit the tools menu (or rather; whenever I go to the "Tools menu" tab of "PythonWin Options" and hit OK -I don't need to actually edit anything to provoke the problem) It seems that ToolMenuPropPage.OnOK gets in

Re: [python-win32] pythonwin not catching all events

2013-02-07 Thread Johannes Frank
Hello, now I got it working with python33. In win32com.client in function WithEvents I exchanged event_class with user_event_class: result_class = new_type("COMEventClass", (user_event_class, events_class), {}) Same has to be done with the DispatchWithEvent function. If someone gives me a hand o

Re: [python-win32] pythonwin not catching all events

2013-02-07 Thread Johannes Frank
Hello Newsgroup, I dug into this further and got it running in a thread. No change with the events, same behavior. I added to the working Appdeactivate event an vba routine to add a new drawing. Thus I had the focus when the event occurs and now I got the event. Naturally this is not desirable si

[python-win32] pythonwin not catching all events

2013-02-06 Thread Johannes Frank
Hello Newsgroup, I am currently programming ProgeCAD an AutoCAD Clone and having difficulties catching all events. My code: import win32com.client import pythoncom,pywintypes import time import tkFileDialog import tkSimpleDialog import IntelliCAD import sys icad_CLSID = '{77E49E57-976B-11CF-8CC

Re: [python-win32] Pythonwin MDI Child Size

2011-09-02 Thread Manfred Schulte-Oversohl
This is a way I solved it, maybe someone is interested. class ScrollView(pywin.mfc.docview.ScrollView): def OnInitialUpdate(self): #... frame = win32ui.GetMainFrame() rect = frame.GetClientRect() self.SetScrollSizes(win32con.MM_TEXT, (rect[2] - 18, rect[3] -5

[python-win32] Pythonwin MDI Child Size

2011-08-31 Thread Manfred Schulte-Oversohl
I tried to fill a MDI child at start up or on open to the full size of the enclosing frame but self.ShowWindow(win32con.SW_SHOWMAXIMIZED) or self.SetWindowPlacement(placement) did not work (self is the MDI Child PyCWnd). Did I miss something or is it impossible? Many thanks for

Re: [python-win32] Pythonwin Combobox

2011-08-20 Thread Manfred Schulte-Oversohl
Hi Greg, that did exactly what I want! Thank you very much. Cheers Manfred ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Pythonwin Combobox

2011-08-19 Thread Greg Ewing
Manfred Schulte-Oversohl wrote: I'd like to use a combobox control. Getting it with dialog is no problem. But I could not create a combobox on a window. I had the same problem -- pywin32 is missing a CreateComboBox function. After much frustration, I found the following workaround: hwnd

[python-win32] Pythonwin Combobox

2011-08-19 Thread Manfred Schulte-Oversohl
I played with controls on a window (no dialog). For example an edit control with CreateEdit() and everything works fine. I'd like to use a combobox control. Getting it with dialog is no problem. But I could not create a combobox on a window. With the following code I got an error by CreateWindow

Re: [python-win32] Pythonwin interactive window seems gone ?

2010-11-29 Thread leegold
> > leegold wrote: > > Hi, > > > > The interactive window ( the shell window) in Pythonwin is gone, I open > > it and it's an empty canvas - no window. The buttons are checked to show > > it. Maybe I'm missing something simple, not sure. Pywin32 build 214, > > using Activestate 2.6 on XP. > > Is

Re: [python-win32] Pythonwin interactive window seems gone ?

2010-11-29 Thread Mark Hammond
On 30/11/2010 3:13 AM, leegold wrote: Hi, The interactive window ( the shell window) in Pythonwin is gone, I open it and it's an empty canvas - no window. The buttons are checked to show it. Maybe I'm missing something simple, not sure. Pywin32 build 214, using Activestate 2.6 on XP. Have you

Re: [python-win32] Pythonwin interactive window seems gone ?

2010-11-29 Thread Tim Roberts
leegold wrote: > Hi, > > The interactive window ( the shell window) in Pythonwin is gone, I open > it and it's an empty canvas - no window. The buttons are checked to show > it. Maybe I'm missing something simple, not sure. Pywin32 build 214, > using Activestate 2.6 on XP. Is it possible it has be

Re: [python-win32] Pythonwin interactive window seems gone ?

2010-11-29 Thread Vernon Cole
activestate python is a prepackaged kit, which includes pywin32 as part of it. It's a nice package, but most of us in this group don't use it, so we can't be very helpful. Other than saying "It works fine for me" there is not much that we can do, here. It sounds like you may have a problem with you

[python-win32] Pythonwin interactive window seems gone ?

2010-11-29 Thread leegold
Hi, The interactive window ( the shell window) in Pythonwin is gone, I open it and it's an empty canvas - no window. The buttons are checked to show it. Maybe I'm missing something simple, not sure. Pywin32 build 214, using Activestate 2.6 on XP. Thanks ___

Re: [python-win32] PythonWin COM Client Problem Accessing Methods in C++ MFC COM Server

2010-10-28 Thread Mark Hammond
On 29/10/2010 7:28 AM, Steve Johnston wrote: Hello Mark, Thank you for responding to my query! I hope you don't mind that I am replying directly to your email. I'm not sure what the proper protocol is. It is best if replies stay on list for the benefit of others. Your response makes sense,

Re: [python-win32] PythonWin COM Client Problem Accessing Methods in C++ MFC COM Server

2010-10-27 Thread Mark Hammond
On 28/10/2010 3:50 AM, Steve Johnston wrote: First, a little background to help explain the problem. I have a C++ MFC application configured as an Automation COM server. It has a dual interface defined in a type library embedded as a resource in the executable. The dual interface has been been im

[python-win32] PythonWin Grep modifications

2009-10-09 Thread Elias Fotinis
I've made some modifications to PythonWin's Grep functionality. At first I just wanted to add highlighting for the regex matches, but I guess I got carried away. :b I'll eventually submit it to SourceForge, so that Mark may include it in the official release if he wants. In the meantime, here's

Re: [python-win32] PythonWin IDE: how to assign a function/code to key F1 etc. ?

2009-05-08 Thread Mark Hammond
Some of that looks good, but I'm very short on time at the moment. Could you please split this into 2 patches (one for the debugging changes, one for the rest) and upload them to sourceforge? Thanks, Mark Robert wrote: Mark Hammond wrote: Robert wrote: want to put new functions (short pytho

Re: [python-win32] PythonWin IDE: how to assign a function/code to key F1 etc. ?

2009-04-30 Thread Robert
Mark Hammond wrote: Robert wrote: want to put new functions (short python code) on keys like F1, F12, Ctrl-F1 and other keys. Is there a mechanism/recipe ? Look for the *.cfg files in the pythonwin directory. Thanks. maybe some of the following stuff is useful for somebody, or for futur

Re: [python-win32] PythonWin IDE: how to assign a function/code to key F1 etc. ?

2009-04-29 Thread Mark Hammond
Robert wrote: want to put new functions (short python code) on keys like F1, F12, Ctrl-F1 and other keys. Is there a mechanism/recipe ? Look for the *.cfg files in the pythonwin directory. Mark ___ python-win32 mailing list python-win32@python.org

[python-win32] PythonWin IDE: how to assign a function/code to key F1 etc. ?

2009-04-28 Thread Robert
want to put new functions (short python code) on keys like F1, F12, Ctrl-F1 and other keys. Is there a mechanism/recipe ? ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Pythonwin crashes everytime

2009-02-01 Thread Vernon Cole
Are you using a Chinese character set by default? If so, you may be the second person to discover a bug which was described recently. I quote: I tracked down the source of the problem. > > I am using Windows XP, SP3. Two days ago I changed Control Panel, Regional > and Language Options, Advanced

[python-win32] Pythonwin crashes everytime

2009-01-30 Thread David Xiao
Hi pythonwin users, Pythonwin crashes everytime when I simply type several lines of text in it. What could be the reason? vista, python 2.6.1, pywin32 build 212. BTW, i have tried on XP sp3, python 2.5.4, crashed as well! BR, David ___ python-win32 ma

[python-win32] PythonWin non-ascii chars typing bug

2009-01-26 Thread Elias Fotinis
Starting from pywin 211, typing non-ascii chars in any Scintilla control in PythonWin is broken. These characters are truncated to the lower 8 bits of their Unicode values. The changelog of Scintilla 1.75 (the version used in 211 and 212) mentions some Unicode enhancements, which might be the re

Re: [python-win32] Pythonwin starts, displays main window, interactive window 'frame', then exits

2008-12-30 Thread Matthias Ekman
do you suggest to update to build 212? ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Pythonwin starts, displays main window, interactive window 'frame', then exits

2008-12-28 Thread Matthias Ekman
Mark Hammond schrieb: On 29/12/2008 5:50 AM, Matthias Ekman wrote: > Try deleting your "HKEY_CURRENT_USER\Software\Python 2.5" (using > whatever version of Python you are using) key - this may have garbage > which causes MFC to get upset as it starts. deleting "HKEY_CURRENT_USER\Software\Pyt

Re: [python-win32] Pythonwin starts, displays main window, interactive window 'frame', then exits

2008-12-28 Thread Mark Hammond
On 29/12/2008 5:50 AM, Matthias Ekman wrote: > Try deleting your "HKEY_CURRENT_USER\Software\Python 2.5" (using > whatever version of Python you are using) key - this may have garbage > which causes MFC to get upset as it starts. deleting "HKEY_CURRENT_USER\Software\Python 2.5" (Python 2.6 in

Re: [python-win32] Pythonwin starts, displays main window, interactive window 'frame', then exits

2008-12-28 Thread Matthias Ekman
> Try deleting your "HKEY_CURRENT_USER\Software\Python 2.5" (using > whatever version of Python you are using) key - this may have garbage > which causes MFC to get upset as it starts. deleting "HKEY_CURRENT_USER\Software\Python 2.5" (Python 2.6 in my case) works fine for me ... BUT ... on next

Re: [python-win32] Pythonwin starts, displays main window, interactive window 'frame', then exits

2008-12-16 Thread Mark Hammond
On 17/12/2008 1:48 AM, John_Nowlan wrote: Thanks for the suggestion. Will have to remember. But I had already gone for the brute force approach and uninstalled python 2.6 and went to 2.5. That worked. It hadn't worked when I had just uninstalled pythonwin and reinstalled. Yeah - uninstalling d

Re: [python-win32] Pythonwin starts, displays main window, interactive window 'frame', then exits

2008-12-16 Thread John_Nowlan
ark Hammond [mailto:skippy.hamm...@gmail.com] > Sent: Saturday, December 13, 2008 11:19 PM > To: John_Nowlan > Cc: python-win32@python.org > Subject: Re: [python-win32] Pythonwin starts, displays main window, > interactive window 'frame', then exits > > John_Nowlan wrote: &g

Re: [python-win32] Pythonwin starts, displays main window, interactive window 'frame', then exits

2008-12-13 Thread Mark Hammond
John_Nowlan wrote: Sorry to intrude, but I'm hoping this is something stupid. Has anyone seen this behaviour and know of a fix? I've searched hi & low, but its hard to find specific info on pythonwin. Try deleting your "HKEY_CURRENT_USER\Software\Python 2.5" (using whatever version of Python

Re: [python-win32] Pythonwin starts, displays main window, interactive window 'frame', then exits

2008-12-12 Thread Alec Bennett
Run it from commandline and see if an error message is printed the console? --- On Thu, 12/11/08, John_Nowlan wrote: > From: John_Nowlan > Subject: [python-win32] Pythonwin starts, displays main window, interactive > window 'frame', then exits > To: python-win32@pytho

[python-win32] Pythonwin starts, displays main window, interactive window 'frame', then exits

2008-12-11 Thread John_Nowlan
Sorry to intrude, but I'm hoping this is something stupid. Has anyone seen this behaviour and know of a fix? I've searched hi & low, but its hard to find specific info on pythonwin. The only things that have changed are I installed some oracle software and ran some of the samples. Could that have

Re: [python-win32] PythonWin

2008-11-14 Thread bikash . sherchan
Thanks everybody, I have decided to downgrade to python 2.5 and try that. I will of course share my experience later how it works. thank you all again and wish you all a nice weekend. Bikash On 11/13/08, Tim Roberts <[EMAIL PROTECTED]> wrote: > > Harald Armin Massa wrote: > > Maybe, just ma

Re: [python-win32] PythonWin [SEC=UNCLASSIFIED]

2008-11-13 Thread Andrew MacIntyre
> [EMAIL PROTECTED] wrote: > > I am using Windows Vista and installed python 2.6. I am working on my > masters thesis and would like to write python scripts to automize some > tools in ArcGIS. To do so I am following "Writing Geoprocessing > Scripts with ArcGIS" from ESRI which is based on pyth

Re: [python-win32] PythonWin

2008-11-13 Thread Tim Roberts
Harald Armin Massa wrote: > Maybe, just maybe, you could be better of to "downgrade" to Python 2.5 > if you are just a beginner with Python and want to use some > description from the web. Many tools and documentations are not > updated to Python 2.6 yet. > This is reasonable advice, but since

Re: [python-win32] PythonWin

2008-11-13 Thread Harald Armin Massa
Bikash, to use pythonwin you need to install the python windows 32 extensions. Search at http://www.python.org/download/windows/ which leads you to http://sourceforge.net/projects/pywin32/ Maybe, just maybe, you could be better of to "downgrade" to Python 2.5 if you are just a beginner with P

[python-win32] PythonWin

2008-11-13 Thread bikash . sherchan
I am using Windows Vista and installed python 2.6. I am working on my masters thesis and would like to write python scripts to automize some tools in ArcGIS. To do so I am following "Writing Geoprocessing Scripts with ArcGIS" from ESRI which is based on pythonWin. Unfortunately I could not find thi

Re: [python-win32] Pythonwin telit

2008-09-19 Thread Gabriel Genellina
En Thu, 18 Sep 2008 15:39:40 -0300, Juan Manuel Pubill <[EMAIL PROTECTED]> escribió: Hola quería saber si hay posibilidad de conseguir alguna versión más nueva que la que distribuye Telit del pythonwin porque es poco estable y tiene varios bugs. Sin más muchas gracias Lista de Python en

Re: [python-win32] Pythonwin telit

2008-09-18 Thread Tim Roberts
Juan Manuel Pubill wrote: > > Hola quería saber si hay posibilidad de conseguir alguna versión más > nueva que la que distribuye Telit del pythonwin porque es poco estable > y tiene varios bugs. > BabelFish translates this as: > Hello it wanted to know if there is possibility of securing some > ve

[python-win32] Pythonwin telit

2008-09-18 Thread Juan Manuel Pubill
Hola quería saber si hay posibilidad de conseguir alguna versión más nueva que la que distribuye Telit del pythonwin porque es poco estable y tiene varios bugs. Sin más muchas gracias _ Get more from your digital life. Find out how

Re: [python-win32] PythonWin won't start the second time

2007-08-07 Thread Zeev B
I've uninstalled and reinstalled Pythonwin and indeed after installation the pyc is present and when Pythonwin runs the first time it overrides it. I've saved the original intpyapp.pyc and when I use it Pythonwin runs without a problem. I've compared the "working" pyc with the "non-working" one and

Re: [python-win32] PythonWin won't start the second time

2007-07-02 Thread Zeev B
No, It doesn't crash if I import it from the python console. I ran python.exe -v (after replacing the file with the original pyc that does work - the one that was generated in the installation) and indeed it recompiles because of a bad timestamp. Following are the relevant lines from the verbose o

Re: [python-win32] PythonWin won't start the second time

2007-06-30 Thread Zeev B
This is the comparison of the two files (starting at offset 0): - L0 B3 F2 0D 0A 94 BF 29 42 63 00 00 00 00 00 00 00 ³ò.."¿)Bc... R0 B3 F2 0D 0A A4 CD 29 42 63 00 00 00 00 00 00 00 ³ò..¤Í)Bc... L - the working version R - the

Re: [python-win32] PythonWin won't start the second time

2007-06-29 Thread Zeev B
I've uninstalled and reinstalled Pythonwin and indeed after installation the pyc is present and when Pythonwin runs the first time it overrides it. I've saved the original intpyapp.pyc and when I use it Pythonwin runs without a problem. I've compared the "working" pyc with the "non-working" one and

Re: [python-win32] PythonWin won't start the second time

2007-06-21 Thread Zeev B
I've installed Python 2.5 for all users using the python-2.5.msi installer. I've also searched for python25.dll and there is only one copy of it (in C:\WINDOWS\system32\python25.dll). Obviously, something is wrong in my XP environment, maybe a dll with the wrong version (mfc?). Can this be related

[python-win32] PythonWin won't start the second time

2007-06-19 Thread Zeev B
I've installed Python 2.5 and PythonWin (pywin32-210.win32-py2.5) on my new XP machine. The first time I run PythonWin after installation it runs normally but if I close it and try to run it again it crashes ("PyWin32 has encountered a problem and needs to close") every time. After some investigat

[python-win32] Pythonwin Problems

2006-12-16 Thread Michael Foord
Hello all, There are various problems with Pythonwin under Movable Python. The latest that I have discovered is that Pythonwin fails to bring up the find dialog the *second* time you use it. It fails with the following traceback : Traceback (most recent call last): File "\movpy\lib\pythonwi

Re: [python-win32] PythonWin And Excel Problem

2006-12-01 Thread Smith, Brian (CR)
Hi Andrea, > therand = [] > for ii in xrange(10): > therand.append(random.random()) > ... > sheet.Range("A1:A10").Value = therand I believe that when setting the value for a range, you must supply a list of row data, where each piece of row data is a list of column data. In other words, a l

Re: [python-win32] PythonWin And Excel Problem

2006-12-01 Thread Michael S
Andrea, Also, could it be that when you do the following: sheet.Range("A1:A10").Value = therand you actually initialize all 10 cells to the first element of the array? Try to iterate and initialize every cell separately. Michael --- Andrea Gavana <[EMAIL PROTECTED]> wrote: > Hi All, > > I

Re: [python-win32] PythonWin And Excel Problem

2006-12-01 Thread Michael S
First of all you should call the random.seed() function. That was at least what I´ve always done. seed([x]) Initialize the basic random number generator. Second of all, calling random.random() will give you this: random() Return the next random floating point number in the range [0.0, 1.0

[python-win32] PythonWin And Excel Problem

2006-12-01 Thread Andrea Gavana
Hi All, I am having some problems in running a very simple python script, which prints some numbers in an Excel spreadsheet. The numbers are stored in a list. I know that the numbers are different (random generated), but when I open the Excel file I get a column of data with all the numbers eq

Re: [python-win32] Pythonwin

2006-09-19 Thread Fuzzyman
Mark Hammond wrote: >>The first issue is that the run script dialog doesn't appear- instead >>the file open dialog appears, and re-appears when closed. >>This happens >>whenever the python version is run - whether from normal Python or >>Movable Python. >> >> > >I can't repro this - if I start

Re: [python-win32] Pythonwin

2006-09-18 Thread Mark Hammond
> The first issue is that the run script dialog doesn't appear- instead > the file open dialog appears, and re-appears when closed. > This happens > whenever the python version is run - whether from normal Python or > Movable Python. I can't repro this - if I start Pythonwin via that script, then

[python-win32] Pythonwin

2006-09-18 Thread Michael Foord
Hello all, I'm trying to get Pythonwin working with Movable Python. The first step was to try using a pure Python version of the executable. (Code reproduced below). This appears to work (both for installed Python and Movable Python) - however their are various minor problems I need to resolve

[python-win32] PythonWin hangs and pins CPU -and a Python Way question

2006-05-18 Thread Peter Fraser
I have a specific PythonWin IDE problem -and a very general, but possibly misguided question: 1. When I start PythonWin, I get no interactive shell and when I try to do anything -PythonWin seems to go into some kind of loop, and grinds my machine to a halt. I have sometimes seen references

[python-win32] pythonwin 204 editor crash

2006-05-03 Thread Robin Becker
I see the error below when trying to edit this file - _flightClass = {'first':['A','F','G','P'], 'business':['C','D','I','J','Z'], 'economy':['B','E','H','K'] } class ItemMapping(dict): def __setattr__(self,

[python-win32] pythonwin and TAPI

2006-01-12 Thread Kristian Rink
Hi all; is there a chance of controlling TAPI (preferrably 3.x) using python / win32com? Did anyone around here ever try something like that? I'm at the moment trying to get hold of what pythonwin's COM browser offers me talking about TAPI, but the results aren't really pleasing... Can anyone give

Re: [python-win32] PythonWin Not starting - Windows Server 2003 OS

2005-11-23 Thread Gregory Piñero
Ok, I got it working.  I had to log in as administrator on that computer and then it asked me to allow Pythonwin to run.  Something about data execution prevention. -GregOn 11/22/05, Gregory Piñero <[EMAIL PROTECTED]> wrote: Yeah, I know this is a pretty vague question.  I'm willing to try to debu

Re: [python-win32] PythonWin - Start in script's directory

2005-11-22 Thread Gregory Piñero
Ah, very good idea!   I just tried that and it works. For posterity you can add an "edit with" option to a file type in windows by going to folder options, selecting the file types tab, go to the file type you want to change, select change, select new, type in a name like edit with pythonwin, and

Re: [python-win32] PythonWin - Start in script's directory

2005-11-22 Thread Gabriel Genellina
At Tuesday 22/11/2005 15:14, Gregory Piñero wrote: >And then is there a way to make Pythonwin run that automatically or do I >have to add that to my script: >os.chdir(os.path.dirname(os.path.abspath(sys.argv[0]))) I'm not sure what Pythonwin has to do with this exactly... You always can run a pr

Re: [python-win32] PythonWin - Start in script's directory

2005-11-22 Thread Gregory Piñero
And then is there a way to make Pythonwin run that automatically or do I have to add that to my script: os.chdir(os.path.dirname(os.path.abspath(sys.argv[0]))) -Greg On 11/22/05, Gabriel Genellina <[EMAIL PROTECTED]> wrote: At Tuesday 22/11/2005 14:22, Gregory Piñero wrote:>I'm not sure how to phra

Re: [python-win32] PythonWin - Start in script's directory

2005-11-22 Thread Gabriel Genellina
At Tuesday 22/11/2005 14:22, Gregory Piñero wrote: >I'm not sure how to phrase this question. How can I make PythonWin have >it's current directory automatically set to the same directory as my script? > >For example I want the statement: >file('test.txt','w') >to make a file in the same directo

[python-win32] PythonWin - Start in script's directory

2005-11-22 Thread Gregory Piñero
I'm not sure how to phrase this question.  How can I make PythonWin have it's current directory automatically set to the same directory as my script? For example I want the statement: file('test.txt','w') to make a file in the same directory as my script, instead of wherever PythonWin wants to pu

Re: [python-win32] PythonWin Not starting - Windows Server 2003 OS

2005-11-22 Thread Gregory Piñero
Yeah, I know this is a pretty vague question.  I'm willing to try to debug it myself.  Could anyone point me towards where to start?  Is there a error log file somewhere or any known issues with Windows Server 2003? Thanks, Greg On 11/21/05, Gregory Piñero <[EMAIL PROTECTED]> wrote: Hi, I just

Re: [python-win32] PythonWin Not starting on Windows Server 2003

2005-11-22 Thread AddisonN
unk mail received ([EMAIL PROTECTED]) -- Message: 1 Date: Mon, 21 Nov 2005 09:14:46 -0500 From: Gregory Pi?ero <[EMAIL PROTECTED]> Subject: [python-win32] PythonWin Not starting - Windows Server 2003 OS To: pyt

[python-win32] PythonWin Not starting - Windows Server 2003 OS

2005-11-21 Thread Gregory Piñero
Hi, I just installed PythonWin on a fresh install of Windows Server 2003.  When I try to launch the PythonWin IDE it starts up and shows the IDE for about 1 second and then shuts down. If you need more information, just let me know what to check to get. Thanks!-- Gregory PiñeroChief Innovation

Re: [python-win32] Pythonwin - Word automation - Removing watermark not working

2005-11-05 Thread Gregory Piñero
Thanks, John.  I'll try your ideas on Tuesday and see what happens.  They sound promising.  If I'm still having problems I'll try sending a sample word file like you said. -Greg On 11/5/05, John Machin <[EMAIL PROTECTED]> wrote: Gregory Piñero wrote:> See below:>> On 11/5/05, *John Machin* <[EMAIL

Re: [python-win32] Pythonwin - Word automation - Removing watermark not working

2005-11-05 Thread John Machin
Gregory Piñero wrote: > See below: > > On 11/5/05, *John Machin* <[EMAIL PROTECTED] > > wrote: > > Gregory Piñero wrote: > > > > > Would anyone happen to know why this my function removewatermark() in > > this code isn't working? I copied it from a

Re: [python-win32] Pythonwin - Word automation - Removing watermark not working

2005-11-05 Thread Gregory Piñero
See below:On 11/5/05, John Machin <[EMAIL PROTECTED]> wrote: Gregory Piñero wrote:>> Would anyone happen to know why this my function removewatermark() in> this code isn't working?  I copied it from a Word macro I recorded and> it did work when I recorded the macro.  When I run it the watermark > d

Re: [python-win32] Pythonwin - Word automation - Removing watermark not working

2005-11-05 Thread John Machin
Gregory Piñero wrote: > > Would anyone happen to know why this my function removewatermark() in > this code isn't working? I copied it from a Word macro I recorded and > it did work when I recorded the macro. When I run it the watermark > doesn't go away. > > I've also attached the code in

[python-win32] Pythonwin - Word automation - Removing watermark not working

2005-11-05 Thread Gregory Piñero
Hi everybody.  I originally sent this question to the main Python list to have it be met with roaring silence ;-) Someone there suggested I try this group instead.  Any help or suggestions would be greatly appriciated. Thanks, -Greg -- Forwarded message --From: Gregory Piñero <[

Re: [python-win32] Pythonwin problem

2005-10-12 Thread Mark Hammond
> After debugging a particular program I started getting funny messages > about window handles being bad. Then I get this at startup in a dialog > box from the runtime library > > > Runbtime Error! > > Program c:\python\lib\site-packages\pythonwin\Pythonwin.exe > > R6025 > - pure virtual func

[python-win32] Pythonwin problem

2005-10-08 Thread Robin Becker
After debugging a particular program I started getting funny messages about window handles being bad. Then I get this at startup in a dialog box from the runtime library Runbtime Error! Program c:\python\lib\site-packages\pythonwin\Pythonwin.exe R6025 - pure virtual function call these probl

Re: [python-win32] PythonWin Script Editor Display Line Numbers?

2005-06-29 Thread Jürgen Kareta
Hello Jeff, > I have an easy question that I’m sure someone on the list can help > with. Is there a way to display line numbers in the Python Script > editor in PythonWin? > select view/options in the main menu; select tab editor set Line Numbers in the Margins Widths Frame to something more tha

[python-win32] PythonWin Script Editor Display Line Numbers?

2005-06-29 Thread Jeff Grice
Hello all,   I have an easy question that I’m sure someone on the list can help with.  Is there a way to display line numbers in the Python Script editor in PythonWin?   I am using Python 2.4 pywin32 build 204 on WindowsXP.   Any help would be much appreciated.   Jeff

[python-win32] Pythonwin COM problem

2005-06-15 Thread Bielik, Robert
I have a module where I use COM to communicate with some HW drivers. In my module I use CoInitializeEx to init COM in multithreaded mode. However, when I use PythonWin to debug/test my module, I get an error due to the fact that PythonWin has (implicitly) initialized COM in apartment threaded mo

[python-win32] PythonWin as a MDI

2005-06-07 Thread Hughes, Chad O
Title: PythonWin as a MDI Is there a way to launch PythonWin as a Multiple Document Interface so that I can make good use of my multi-monitor system?  I would like to open a number of code pages and have them on different monitors. ___ Python-win3

RE: [python-win32] PythonWin and calling functions across threads

2004-12-29 Thread Mark Hammond
) be open to patches that exposed this via the UI, if it was felt necessary. Mark. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Steven Bethard > Sent: Thursday, 30 December 2004 9:05 AM > To: python-win32@python.org > Subject: [python-wi

[python-win32] PythonWin and calling functions across threads

2004-12-29 Thread Steven Bethard
I posted this originally to the python-list[1], but then discovered that my problem only occurs in PythonWin. Any help would be appreciated: [1] http://mail.python.org/pipermail/python-list/2004-December/257666.html Original Message Subject: calling functions across threads Date

[python-win32] Pythonwin is broke

2004-12-06 Thread Dave Jones
Please help. This is driving me batty. I think someone who is familiar with the Pythonwin source code can probably figure this out. Pythonwin has quit working properly on my office computer, and I am at a loss as to how to fix it. I am using Python23 on MS Windows 2000 Pro. Prior to re-install