Re: win32com.client .Cells

2015-10-12 Thread Chris Angelico
On Tue, Oct 13, 2015 at 1:37 AM, Michiel Overtoom wrote: > Hi, > >> excel_book=Excel.Workbooks.Open('D:\WebPython\Config3.xlsx') > > Shouldn't this be: > > excel_book=Excel.Workbooks.Open('D:\\WebPython\\Config3.xlsx') > or > excel_book=Excel.Workbooks.Open(r'D:\WebPython\Config3.xlsx') >

Re: win32com.client .Cells

2015-10-12 Thread Michiel Overtoom
Hi, > excel_book=Excel.Workbooks.Open('D:\WebPython\Config3.xlsx') Shouldn't this be: excel_book=Excel.Workbooks.Open('D:\\WebPython\\Config3.xlsx') or excel_book=Excel.Workbooks.Open(r'D:\WebPython\Config3.xlsx') ? -- https://mail.python.org/mailman/listinfo/python-list

Re: win32com.client .Cells

2015-10-12 Thread pupsik kc
Very Thanks Irmen! It's helped me. -- https://mail.python.org/mailman/listinfo/python-list

Re: win32com.client .Cells

2015-10-09 Thread Irmen de Jong
On 9-10-2015 20:45, gall.pavgal.g...@gmail.com wrote: > Hi Guys, > > i wrote small function : > > Excel = win32com.client.Dispatch("Excel.Application") [...] > com_error: (-2147221008, 'CoInitialize has not been called.', None, None) > > Please, help me! :) > First hit on google when search

win32com.client .Cells

2015-10-09 Thread gall . pavgal . gall
Hi Guys, i wrote small function : Excel = win32com.client.Dispatch("Excel.Application") excel_book=Excel.Workbooks.Open('D:\WebPython\Config3.xlsx') s_config=excel_book.Worksheets('VA Prices') def writtenCell(row,col,value): try: global s_config print "row --

Re: -2146826246 in win32com.client for empty #N/A cell in Excel

2015-08-17 Thread Sven Boden
On Sun, Aug 16, 2015 at 7:27 PM, Albert-Jan Roskam wrote: > > > > > Date: Sun, 16 Aug 2015 09:53:32 -0700 > > Subject: -2146826246 in win32com.client for empty #N/A cell in Excel > > From: sven.bo...@gmail.com > > To: python-list@python.org > > > >

Re: -2146826246 in win32com.client for empty #N/A cell in Excel

2015-08-16 Thread Nobody
On Sun, 16 Aug 2015 09:53:32 -0700, Sven Boden wrote: > Anyone knows how to handle a "#N/A" cell in Excel in the proper way? 0x800A07FA is how xlErrNA (error 2042) is marshalled. This isn't specific to Python; you'll get the same value using e.g C# or VB.NET. There's a fairly thorough article on

Re: -2146826246 in win32com.client for empty #N/A cell in Excel

2015-08-16 Thread random832
On Sun, Aug 16, 2015, at 14:41, Chris Angelico wrote: > On Mon, Aug 17, 2015 at 3:27 AM, Albert-Jan Roskam > wrote: > > Does that number happen to be -1 * sys.maxint? > > No, it's -1 * 0x7ff5f806. As a signed 32-bit integer, it's 0x800a07fa. > Does either of those numbers mean anything? That's a

Re: -2146826246 in win32com.client for empty #N/A cell in Excel

2015-08-16 Thread Laura Creighton
For what it's worth, I use xlrd for this. http://www.python-excel.org/ Laura -- https://mail.python.org/mailman/listinfo/python-list

Re: -2146826246 in win32com.client for empty #N/A cell in Excel

2015-08-16 Thread Chris Angelico
On Mon, Aug 17, 2015 at 3:27 AM, Albert-Jan Roskam wrote: > Does that number happen to be -1 * sys.maxint? No, it's -1 * 0x7ff5f806. As a signed 32-bit integer, it's 0x800a07fa. Does either of those numbers mean anything? Sven, you might do better to ask on a dedicated Python + Win32 mailing lis

RE: -2146826246 in win32com.client for empty #N/A cell in Excel

2015-08-16 Thread Albert-Jan Roskam
> Date: Sun, 16 Aug 2015 09:53:32 -0700 > Subject: -2146826246 in win32com.client for empty #N/A cell in Excel > From: sven.bo...@gmail.com > To: python-list@python.org > > > Anyone know how to handle "#N/A" in Excel from win32com.client. > > I'

-2146826246 in win32com.client for empty #N/A cell in Excel

2015-08-16 Thread Sven Boden
Anyone know how to handle "#N/A" in Excel from win32com.client. I'm extracting data from an Excel file using win32com.client. Everything works fine except for when the value "#N/A" is entered in excel. An empty cell. I assumed I do something as if ws.Cells(r, c).Va

Re: save xls to csv/dbf without Excel/win32com.client

2010-06-06 Thread Tim Chase
On 06/06/2010 06:59 PM, noydb wrote: On Jun 5, 9:31 pm, Tim Chase wrote: [1]http://pypi.python.org/pypi/xlrd/ Many thanks Tim, this worked well! In the interest of learning, anyone have a XLS to DBF solution? This becomes considerably trickier unless you're willing to have all your DBF fi

Re: save xls to csv/dbf without Excel/win32com.client

2010-06-06 Thread noydb
On Jun 5, 9:31 pm, Tim Chase wrote: > On 06/05/2010 06:47 PM, noydb wrote: > > > Is there a way to save a .xls file (the first worksheet) as a .dbf > > or .csv without opening an instance of Excel with win32com.client > > (been awhile, is this the best module these da

Re: save xls to csv/dbf without Excel/win32com.client

2010-06-05 Thread Tim Chase
On 06/05/2010 06:47 PM, noydb wrote: Is there a way to save a .xls file (the first worksheet) as a .dbf or .csv without opening an instance of Excel with win32com.client (been awhile, is this the best module these days for v2.5)? In case a computer does not have Excel (2007) installed. Use

save xls to csv/dbf without Excel/win32com.client

2010-06-05 Thread noydb
Is there a way to save a .xls file (the first worksheet) as a .dbf or .csv without opening an instance of Excel with win32com.client (been awhile, is this the best module these days for v2.5)? In case a computer does not have Excel (2007) installed. -- http://mail.python.org/mailman/listinfo

win32com.client import problem : solved

2009-10-14 Thread Threader Slash
-- Forwarded message -- From: Dave Angel To: Threader Slash Date: Wed, 14 Oct 2009 07:04:21 -0400 Subject: Re: win32com.client import problem Threader Slash wrote: > Hi Everybody, > > I have 2 imports: > > import pythoncom > from win32com.client import Dispat

Re: win32com.client import problem

2009-10-14 Thread Dave Angel
Threader Slash wrote: Hi Everybody, I have 2 imports: import pythoncom from win32com.client import Dispatch if I run it on my Python 2.6 Console, it works nicely. However, when I go to Eclipse IDE, open a project, open a main.py file, and try run, it gives the error: import pythoncom

win32com.client import problem

2009-10-14 Thread Threader Slash
Hi Everybody, I have 2 imports: import pythoncom from win32com.client import Dispatch if I run it on my Python 2.6 Console, it works nicely. However, when I go to Eclipse IDE, open a project, open a main.py file, and try run, it gives the error: import pythoncom ImportError: No module named

Re: thread and win32com.client problem

2009-08-20 Thread Martin P. Hellwig
Christian Heimes wrote: Ray wrote: I already find the way to fix it. :-) I consider it good style when people describe their solution to a problem, too. Other Python users may run into the same issue someday. :) Christian He probably used: pythoncom.CoInitialize() -- MPH http://blog.dcu

Re: thread and win32com.client problem

2009-08-20 Thread Christian Heimes
Ray wrote: I already find the way to fix it. :-) I consider it good style when people describe their solution to a problem, too. Other Python users may run into the same issue someday. :) Christian -- http://mail.python.org/mailman/listinfo/python-list

Re: thread and win32com.client problem

2009-08-20 Thread Ray
I already find the way to fix it. :-) -- http://mail.python.org/mailman/listinfo/python-list

thread and win32com.client problem

2009-08-20 Thread Ray
Hi, I have a problem with thread and win32com.client running python 2.5 on vista (activestate python) import win32com.client, thread def child(test): problem=win32com.client.Dispatch("WScript.Shell") print 'hello from thread', test def parent():

Fwd: [python-win32] Fwd: Autosizing column widths in Excel using win32com.client ?

2009-05-17 Thread James Matthews
-- Forwarded message -- From: Tim Golden Date: Sun, May 17, 2009 at 1:00 PM Subject: Re: [python-win32] Fwd: Autosizing column widths in Excel using win32com.client ? To: Cc: Python-Win32 List James Matthews wrote: > -- Forwarded message -- > From: >

Autosizing column widths in Excel using win32com.client ?

2009-05-15 Thread nonsense
Is there a way to autosize the widths of the excel columns as when you double click them manually? -- http://mail.python.org/mailman/listinfo/python-list

Re: win32com.client / Trendlines

2009-01-28 Thread mathieu
On Jan 28, 4:21 pm, mathieu wrote: > Hi there, > >   I am trying to use win32com.client, but I do not think I fully grasp > the concept. So far I copied chunk of code from the net to write my > script. It worked well until I could not find any example on > Trendlines. Accordin

win32com.client / Trendlines

2009-01-28 Thread mathieu
Hi there, I am trying to use win32com.client, but I do not think I fully grasp the concept. So far I copied chunk of code from the net to write my script. It worked well until I could not find any example on Trendlines. According to doc it should be as simple as: wc.Chart.SeriesCollection(1

Re: win32com.client (Howto edit Contacts in Outlook)

2008-07-12 Thread Bill Davy
"Tim Golden" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Bill Davy wrote: >> Traceback (most recent call last): >> File "H:/Personal/OutlookIF1/t2.py", line 18, in >> outlook = win32com.client.gencache.EnsureDispatch >> ("Outlook.Application") >> File "C:\Python25\Lib\s

Re: win32com.client (Howto edit Contacts in Outlook)

2008-07-11 Thread Tim Golden
Bill Davy wrote: Traceback (most recent call last): File "H:/Personal/OutlookIF1/t2.py", line 18, in outlook = win32com.client.gencache.EnsureDispatch ("Outlook.Application") File "C:\Python25\Lib\site-packages\win32com\client\gencache.py", line 536, in EnsureDispatch mod = EnsureM

Re: win32com.client (Howto edit Contacts in Outlook)

2008-07-11 Thread Bill Davy
#x27;t remember what the particular obstacles were you > were facing, but this runs OK on my setup - > Python 2.5.2 / pywin32 211 / Outlook 2003: > > > import os, sys > import win32com.client > constants = win32com.client.constants > > def items (contacts): > items = contacts

Re: win32com.client (Howto edit Contacts in Outlook)

2008-07-11 Thread Tim Golden
talk to a Maxim 3421E etc etc but that's another story). So any help today will be much appreciated. Rgds, Can't remember what the particular obstacles were you were facing, but this runs OK on my setup - Python 2.5.2 / pywin32 211 / Outlook 2003: import os, sys import

Re: win32com.client (Howto edit Contacts in Outlook)

2008-07-11 Thread Bill Davy
"Tim Golden" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Bill Davy wrote: >> I'm not sure OL2003 can read news. I think perhaps some later OL can >> (added tot he View menu, perhaps?). So I use OL Express to read news. >> The OL with which I wish to communicate is: >> >> Appl

Re: win32com.client (Howto edit Contacts in Outlook)

2008-07-10 Thread Tim Golden
Bill Davy wrote: I'm not sure OL2003 can read news. I think perhaps some later OL can (added tot he View menu, perhaps?). So I use OL Express to read news. The OL with which I wish to communicate is: Application name Outlook Version 11.0 Build 8217 Product ID 70141-700-0350904-56905 Languag

Re: win32com.client (Howto edit Contacts in Outlook)

2008-07-10 Thread Bill Davy
"Tim Roberts" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > "Bill Davy" <[EMAIL PROTECTED]> wrote: >> >>I am trying to edit Contacts in Outlook. This is so I can transfer >>numbers >>from my address book which is an Excel spreadsheet to my mobile phone. > > Are you actually runni

Re: win32com.client (Howto edit Contacts in Outlook)

2008-07-05 Thread Tim Roberts
"Bill Davy" <[EMAIL PROTECTED]> wrote: > >I am trying to edit Contacts in Outlook. This is so I can transfer numbers >from my address book which is an Excel spreadsheet to my mobile phone. Are you actually running Outlook? Your news posting was made from Outlook Express, and Outlook Express can

Re: win32com.client (Howto edit Contacts in Outlook)

2008-07-04 Thread Bill Davy
und to >>> discover CdoDefaultFolderContacts (though it was guessable; how could I >>> enumerate win32com.client.constants?). >> >> Well that bit's easy: win32com.client.constants is a small class with >> a __dicts__ attribute (note the "s&qu

Re: win32com.client (Howto edit Contacts in Outlook)

2008-07-04 Thread Bill Davy
> Well that bit's easy: win32com.client.constants is a small class with > a __dicts__ attribute (note the "s") which is a list of dictionaries, one > per generated library. So you can do something like this: > > > import win32com.client > > outlook = win32

Re: win32com.client (Howto edit Contacts in Outlook)

2008-07-04 Thread Tim Golden
e per generated library. So you can do something like this: import win32com.client outlook = win32com.client.gencache.EnsureDispatch ("Outlook.Application") outlook_constants = win32com.client.constants.__dicts__[0] for k, v in outlook_constants.items (): print k, "=>", v I

win32com.client (Howto edit Contacts in Outlook)

2008-07-04 Thread Bill Davy
message = messages.GetFirst () while message: yield message message = messages.GetNext () if __name__ == '__main__': import win32com.client session = win32com.client.gencache.EnsureDispatch ("MAPI.Session") constants = win32com.client.constants ses

Re: win32com.client question

2008-02-13 Thread Mike Driscoll
On Feb 13, 8:05 am, Juan_Pablo <[EMAIL PROTECTED]> wrote: > import win32com.client > is posible in linux ? No. It's a Windows only Python extension. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: win32com.client question

2008-02-13 Thread juan pablo
On Feb 13, 2008 11:58 AM, James Matthews <[EMAIL PROTECTED]> wrote: > What do you mean possible? > It is possible to use the library win32com.client in linux? I thought that was only for windows ?¿ -- http://mail.python.org/mailman/listinfo/python-list

Re: win32com.client question

2008-02-13 Thread Gerhard Häring
Juan_Pablo wrote: > import win32com.client > is posible in linux ? Not in any meaningful way. -- Gerhard -- http://mail.python.org/mailman/listinfo/python-list

Re: win32com.client question

2008-02-13 Thread James Matthews
What do you mean possible? On Feb 13, 2008 3:05 PM, Juan_Pablo <[EMAIL PROTECTED]> wrote: > import win32com.client > is posible in linux ? > -- > http://mail.python.org/mailman/listinfo/python-list > -- http://search.goldwatches.com/?Search=Movado+Watches http://www.je

win32com.client question

2008-02-13 Thread Juan_Pablo
import win32com.client is posible in linux ? -- http://mail.python.org/mailman/listinfo/python-list

Re: win32com.client documentation?

2007-10-24 Thread Tim Roberts
Mark Morss <[EMAIL PROTECTED]> wrote: > >I want to be able to script the creation of Excel spreadsheets and >Word documents, interract with Access data bases, and so forth. Empirically, the best way to do this (for me, at least) is to Google for examples. There are a few simple rules to learn on

Re: win32com.client documentation?

2007-10-24 Thread Tim Roberts
"Colin J. Williams" <[EMAIL PROTECTED]> wrote: >Mark Morss wrote: >> I am a unix person, not new to Python, but new to Python programming >> on windows. Does anyone know where to find documentation on >> win32com.client? I have successfully installed this m

Re: win32com.client documentation?

2007-10-24 Thread Colin J. Williams
Mark Morss wrote: > I am a unix person, not new to Python, but new to Python programming > on windows. Does anyone know where to find documentation on > win32com.client? I have successfully installed this module and > implemented some example code. But a comprehensive explan

Re: win32com.client documentation?

2007-10-24 Thread Matimus
On Oct 24, 7:35 am, Mark Morss <[EMAIL PROTECTED]> wrote: > I am a unix person, not new to Python, but new to Python programming > on windows. Does anyone know where to find documentation on > win32com.client? I have successfully installed this module and > implemented some ex

Re: win32com.client documentation?

2007-10-24 Thread kyosohma
On Oct 24, 9:35 am, Mark Morss <[EMAIL PROTECTED]> wrote: > I am a unix person, not new to Python, but new to Python programming > on windows. Does anyone know where to find documentation on > win32com.client? I have successfully installed this module and > implemented some ex

win32com.client documentation?

2007-10-24 Thread Mark Morss
I am a unix person, not new to Python, but new to Python programming on windows. Does anyone know where to find documentation on win32com.client? I have successfully installed this module and implemented some example code. But a comprehensive explanation of the objects and methods available is

Re: strange transliteration in win32com.client

2007-10-23 Thread Martin v. Löwis
> 'Microsoft JET Database Engine', "'c:\\Hqwhslfs001\\office\risk > oversight\\myaccess.mdb' is not a valid path. Make sure that the path > name is spelled correctly and that you are connected to the server on > which the file resides.", None, 5003044, -2147467259), None) > > Please note the stra

strange transliteration in win32com.client

2007-10-23 Thread Mark Morss
Is this the place to ask a win32com.client question? I am a unix person trying to run on windows, so I have little familiarity with this module. I have this code: import win32com.client """An Access connection""" def connect(data_source, u

How do I trap errors in win32com.client?

2007-06-18 Thread Ramdas
How do I trap errors from win32com.client. I have tried the com_error classes from pywintypes and pythoncom sub modules. It is not catching for all cases. Is there any docs available? -- http://mail.python.org/mailman/listinfo/python-list

Re: Specification for win32com.client package

2007-05-10 Thread Peter Fischer
Hello Tim, thank you for your quick and detailed reply. So I will try it at the python-win32 list. Many thanks for your help and if you want I will let you know when I know more. Best regards, Peter. - Need Mail bonding? Go to the Yahoo! Mail Q&A for great tip

Re: Specification for win32com.client package

2007-05-09 Thread kyosohma
On May 9, 10:26 am, Tim Golden <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > On May 9, 8:25 am, Tim Golden <[EMAIL PROTECTED]> wrote: > >> [EMAIL PROTECTED] wrote: > >>> The wiki idea sounds like a good one. I was thinking about doing some > >>> kind of Python site about the modules and

Re: Specification for win32com.client package

2007-05-09 Thread Tim Golden
[EMAIL PROTECTED] wrote: > On May 9, 8:25 am, Tim Golden <[EMAIL PROTECTED]> wrote: >> [EMAIL PROTECTED] wrote: >>> The wiki idea sounds like a good one. I was thinking about doing some >>> kind of Python site about the modules and I think the popular 3rd >>> party ones would be a good place to sta

Re: Specification for win32com.client package

2007-05-09 Thread kyosohma
On May 9, 8:25 am, Tim Golden <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > The wiki idea sounds like a good one. I was thinking about doing some > > kind of Python site about the modules and I think the popular 3rd > > party ones would be a good place to start, maybe starting with win3

Re: Specification for win32com.client package

2007-05-09 Thread Tim Golden
[EMAIL PROTECTED] wrote: > The wiki idea sounds like a good one. I was thinking about doing some > kind of Python site about the modules and I think the popular 3rd > party ones would be a good place to start, maybe starting with win32. > How much information do you think would need to be on a site

Re: Specification for win32com.client package

2007-05-09 Thread kyosohma
s and it > only gives me problems when there's security involved. > > > One short question back to the documentation: I read that 'makepy' could be > > helpful to generate documentation to the package? > > AFAIK, makepy's got nothing to do with the pyw

Re: Specification for win32com.client package

2007-05-08 Thread Tim Golden
pful to generate documentation to the package? AFAIK, makepy's got nothing to do with the pywin32 docs. It can be used to generate a proxy Python module for an existing COM package, eg: from win32com.client import gencache xl = gencache.EnsureDispatch ("Excel.Application") # # Behin

Re: Specification for win32com.client package

2007-05-08 Thread Peter Fischer
st regards, Peter. Tim Golden <[EMAIL PROTECTED]> wrote: Peter Fischer wrote: > Hello, (sorry, the first message bounced; because it is urgent and I wait > since > yesterday, here it's again): > > > I am searching for documentation about the interface the win3

Specification for win32com.client package

2007-05-08 Thread Peter Fischer
Hello, (sorry, the first message bounced; because it is urgent and I wait since yesterday, here it's again): I am searching for documentation about the interface the win32com package provides, especially win32com.client. I searched the web and Mark Hammond’s homepage but only found ex

Specification for win32com.client package?

2007-05-08 Thread Peter Fischer
Hello, I am searching for documentation about the interface the win32com package provides, especially win32com.client. I searched the web and Mark Hammond’s homepage but only found example code using Dispatch() and DispatchEx() etc. Isn’t there a full list of the functions win32

Re: Specification for win32com.client package

2007-05-08 Thread Tim Golden
Peter Fischer wrote: > Hello, (sorry, the first message bounced; because it is urgent and I wait > since > yesterday, here it's again): > > > I am searching for documentation about the interface the win32com > package > provides, especially win32com.client

Re: how to use Dispatch to open an application in win32com.client

2007-05-03 Thread Peter Fischer
Dear Python/DCOM experts, I just tried to do a remote dispatch of Google Earth in DCOM, but it didn't work: import pythoncom, win32com.client clsctx=pythoncom.CLSCTX_LOCAL_SERVER i = win32com.client.DispatchEx("GoogleEarth.ApplicationGE", "IAD-PC1

Re: win32com.client Excel Color Porblem

2007-05-03 Thread Ray
Thanks a lot!! ici wrote: > My Excel Template :) + Rows > > # -*- encoding:utf-8 -*- > import win32com.client > > try: import psyco; psyco.full() > except ImportError: pass > > try: > app = win32com.client.Dispatch("Excel.Application.11") # Ex

Re: how to use Dispatch to open an application in win32com.client

2007-05-03 Thread Tim Golden
COM)? Is this possible directly with the win32com > package in python or do I have to install an additional package? Well, funnily enough, you use exactly the same call, but with a machine name on the end: import win32com.client xl = win32com.client.DispatchEx ( "Excel.Application&

Re: how to use Dispatch to open an application in win32com.client

2007-05-03 Thread Peter Fischer
Hello Tim, Thank you for your answer. I just tried, but it didn't work. The reason seems to be that Google Earth prevents a second instance to run on the same machine. Maybe for licensing reasons (do you know whether it is legal to bypass this and how to do this?). So that is no python/COM problem

Re: win32com.client Excel Color Porblem

2007-05-02 Thread ici
= xlSolid > > how do I run it from python win32com ? > xlApp.ActiveSheet.Rows("7:7").ColorIndex won't work. > > Thanks for any Help. > > Ray > > PS: where or how to find a win32com reference? My Excel Template :) + Rows # -*- encoding:utf-8 -*- i

win32com.client Excel Color Porblem

2007-05-02 Thread Ray
Hi, I need to use cell's background color. when I record a macro from excel, it shows: Rows("7:7").Select With Selection.Interior .ColorIndex = 8 .Pattern = xlSolid how do I run it from python win32com ? xlApp.ActiveSheet.Rows("7:7").ColorIndex won't work. Thanks for an

Re: how to use Dispatch to open an application in win32com.client

2007-05-02 Thread Tim Golden
Peter Fischer wrote: > Hello, > > I also use the COM API via python to dispatch an application. My > problem now is that I want to dispatch a second instance of this > application (Google Earth by the way). But when I invoke dispatch > the second time, nothing happens although using another variab

Re: how to use Dispatch to open an application in win32com.client

2007-05-02 Thread Peter Fischer
Hello, I also use the COM API via python to dispatch an application. My problem now is that I want to dispatch a second instance of this application (Google Earth by the way). But when I invoke dispatch the second time, nothing happens although using another variable to store the returned value:

Re: how to use Dispatch to open an application in win32com.client

2007-02-17 Thread Gabriel Genellina
En Sat, 17 Feb 2007 17:47:23 -0300, vithi <[EMAIL PROTECTED]> escribió: > Hi > Since I haven't see any help or tutorial on com there is a application > is installed in the server I am login to the server then what code do > I have to implement to launch the application registered in a server. > ho

Re: how to use Dispatch to open an application in win32com.client

2007-02-17 Thread vithi
enellina" <[EMAIL PROTECTED]> wrote: > En Fri, 16 Feb 2007 23:36:26 -0300, vithi <[EMAIL PROTECTED]> escribió: > > > I am trying to launch an application. When I try like that > > When I try like that Excel is opening > > import win32com.client > > objec

Re: how to use Dispatch to open an application in win32com.client

2007-02-16 Thread Gabriel Genellina
En Fri, 16 Feb 2007 23:36:26 -0300, vithi <[EMAIL PROTECTED]> escribió: > I am trying to launch an application. When I try like that > When I try like that Excel is opening > import win32com.client > object = win32com.client.Dispatch("Excel.Application") > object.Vi

how to use Dispatch to open an application in win32com.client

2007-02-16 Thread vithi
Hi' I am trying to launch an application. When I try like that When I try like that Excel is opening import win32com.client object = win32com.client.Dispatch("Excel.Application") object.Visible = 1 But when I try my application which is QeepIt.exe which is in the c:\ drive it is

how to use Dispatch to open an application in win32com.client

2007-02-16 Thread vithi
Hi' I am trying to launch an application. When I try like that When I try like that Excel is opening import win32com.client object = win32com.client.Dispatch("Excel.Application") object.Visible = 1 But when I try my application which is QeepIt.exe which is in the c:\ drive it is

how to use Dispatch to open an application in win32com.client

2007-02-16 Thread vithi
Hi' I am trying to launch an application. When I try like that When I try like that Excel is opening import win32com.client object = win32com.client.Dispatch("Excel.Application") object.Visible = 1 But when I try my application which is QeepIt.exe which is in the c:\ drive it is

how to use Dispatch to open an application in win32com.client

2007-02-16 Thread vithi
Hi' I am trying to launch an application. When I try like that When I try like that Excel is opening import win32com.client object = win32com.client.Dispatch("Excel.Application") object.Visible = 1 But when I try my application which is QeepIt.exe which is in the c:\ drive it is

Re: win32com.client

2007-02-02 Thread GHUM
btw... the statement with "youtube" was a joke. I really applaud rzed you for giving this detailed descriptions, people like him make the spirit of c.l.p.: People get help here WAY over what commercial support usually gets you. Thanks for doing that, rzed! best wishes, HArald -- http://mail.p

Re: win32com.client

2007-02-02 Thread GHUM
rzed, > 1) In your browser, enter this URL:http://sourceforge.net/projects/pywin32/ > [...] > Try those steps, then try importing win32com again. man, you are SO 2005. Could'nt you please make a screen cap video, upload it to youtube and give a pointer to it on your blog? *wink* Harald --

Re: win32com.client

2007-02-01 Thread Tim Roberts
"vithi" <[EMAIL PROTECTED]> wrote: >Hi, >I use python for window. If you are saying win32com in part of the >python then you are wrong. Look, you aren't paying attention. No one has said win32com is part of Python. What everyone has said is that win32com is part of the "Python for Windows extens

Re: win32com.client

2007-02-01 Thread rzed
"vithi" <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > Hi, > I use python for window. If you are saying win32com in part of the > python then you are wrong. That is not what I or anyone else is saying. What we have said, perhaps not in words you understand, is this: 1) In your browser

Re: win32com.client

2007-02-01 Thread Gabriel Genellina
En Thu, 01 Feb 2007 22:18:49 -0300, vithi <[EMAIL PROTECTED]> escribió: > If you are saying win32com in part of the python then you are wrong. Uh, what is so difficult to understand? vithi wrote: >> Any one tell me where I can get (or download) python modules win32com On Jan 31, 1:45 pm, Gary

Re: win32com.client

2007-02-01 Thread vithi
Hi, I use python for window. If you are saying win32com in part of the python then you are wrong. Here is a prove:- IDLE 1.2 >>> import win32com Traceback (most recent call last): File "", line 1, in import win32com ImportError: No module named win32com >>> you try in your computer

Re: win32com.client

2007-02-01 Thread vithi
On Jan 31, 6:35 pm, rzed <[EMAIL PROTECTED]> wrote: > "vithi" <[EMAIL PROTECTED]> wrote innews:[EMAIL PROTECTED]: > > > Hi > > Any one tell me where I can get (or download) python modules > > win32com or win32com.client because I have to use "

Re: win32com.client

2007-02-01 Thread vithi
mputer On Jan 31, 7:17 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Wed, 31 Jan 2007 22:17:10 -0300, vithi <[EMAIL PROTECTED]> escribió: > > > This is not I was looking for. There is a module call > > "win32com.client" in python some people use

Re: win32com.client

2007-01-31 Thread Gabriel Genellina
En Wed, 31 Jan 2007 22:17:10 -0300, vithi <[EMAIL PROTECTED]> escribió: > This is not I was looking for. There is a module call > "win32com.client" in python some people used it If any body know about > it let me know. > > On Jan 31, 1:45 pm, Gary Herron <[EMAIL

Re: win32com.client

2007-01-31 Thread rzed
"vithi" <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > Hi > Any one tell me where I can get (or download) python modules > win32com or win32com.client because I have to use "Dispatch" > thanks > What distribution are you using? If you a

Re: win32com.client

2007-01-31 Thread vithi
This is not I was looking for. There is a module call "win32com.client" in python some people used it If any body know about it let me know. On Jan 31, 1:45 pm, Gary Herron <[EMAIL PROTECTED]> wrote: > vithi wrote: > > Hi > > Any one tell me where I can get (or do

Re: win32com.client

2007-01-31 Thread Gary Herron
vithi wrote: > Hi > Any one tell me where I can get (or download) python modules win32com > or win32com.client because I have to use "Dispatch" thanks > > You want the "python for windows" extension, available from http://sourceforge.net/proje

win32com.client

2007-01-31 Thread vithi
Hi Any one tell me where I can get (or download) python modules win32com or win32com.client because I have to use "Dispatch" thanks -- http://mail.python.org/mailman/listinfo/python-list

Re: win32com.client & OS X

2006-08-30 Thread has
> I'd like to know if it is possible to call the win32com.client > component using Python on MAC OS X (or maybe Linux) and, if so, how? OS X doesn't really do COM; it's mostly Apple events at the desktop level. See <http://appscript.sourceforge.net> for a Python-

win32com.client & OS X

2006-08-30 Thread n3llyb0y
Hi All, I'd like to know if it is possible to call the win32com.client component using Python on MAC OS X (or maybe Linux) and, if so, how? Cheers, Neil -- http://mail.python.org/mailman/listinfo/python-list

Re: newbie...No module named win32com.client

2006-08-02 Thread placid
[EMAIL PROTECTED] wrote: > This is my very first time to use Phyton! > > I am getting a problem with win32com.client missing from some existinf > scripts. > > >python > Python 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (Intel)] > on win32 > Type &qu

newbie...No module named win32com.client

2006-08-02 Thread schouwla
This is my very first time to use Phyton! I am getting a problem with win32com.client missing from some existinf scripts. >python Python 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "lic

Distutils Error while building 'win32com.client' extension

2006-02-26 Thread Math
'win32com.client' extension 'Python was built with version 7.1 of Visual Studio, and extensions need to be built with the same version of the compiler, but it

Distutils Error while building 'win32com.client' extension

2006-02-26 Thread Math
'win32com.client' extension 'Python was built with version 7.1 of Visual Studio, and extensions need to be built with the same version of the compiler, but it

Re: problem with from win32com.client import Dispatch

2005-11-17 Thread muttu2244
thank you so very much robert, now its working after i put the sleep command. -- http://mail.python.org/mailman/listinfo/python-list

Re: problem with from win32com.client import Dispatch

2005-11-14 Thread [EMAIL PROTECTED]
( see below) from win32com.client import Dispatch import time ie = Dispatch("InternetExplorer.Application") ie.Navigate("https://secure.authorize.net/";) # ie.Visible = True time.sleep(1) doc = ie.Document print doc.body.innerHTML or with a wait function from win32com.cl

  1   2   >