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')
>
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
Very Thanks Irmen!
It's helped me.
--
https://mail.python.org/mailman/listinfo/python-list
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
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 --
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
> >
> >
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
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
For what it's worth, I use xlrd for this. http://www.python-excel.org/
Laura
--
https://mail.python.org/mailman/listinfo/python-list
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
> 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'
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
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
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
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
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
-- 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
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
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
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
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
I already find the way to fix it. :-)
--
http://mail.python.org/mailman/listinfo/python-list
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():
-- 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:
>
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
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
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
"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
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
#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
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
"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
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
"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
"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
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
> 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
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
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
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
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
Juan_Pablo wrote:
> import win32com.client
> is posible in linux ?
Not in any meaningful way.
-- Gerhard
--
http://mail.python.org/mailman/listinfo/python-list
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
import win32com.client
is posible in linux ?
--
http://mail.python.org/mailman/listinfo/python-list
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
"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
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
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
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
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
> '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
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 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
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
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
[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
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
[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
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
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
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
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 Hammonds
homepage but only found ex
Hello,
I am searching for documentation about the interface the win32com package
provides, especially win32com.client. I searched the web and Mark Hammonds
homepage but only found example code using Dispatch() and DispatchEx() etc.
Isnt there a full list of the functions win32
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
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
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
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&
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
= 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
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
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
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:
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
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
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
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
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
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
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
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
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
--
"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
"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
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
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
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 "
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
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
"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
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
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
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
> 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-
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
[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
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
'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
'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
thank you so very much robert, now its working after i put the sleep
command.
--
http://mail.python.org/mailman/listinfo/python-list
( 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 - 100 of 108 matches
Mail list logo