The record will be defined in a typelib somewhere, and have named elements.
For example, the win32com test VB code:
Public Type VBStruct
int_val As Integer
str_val As String
ob_val As Object
sub_val As SubStruct
End Type
And VB arranges for that to become a COM record.
I have a COM server that is expecting a GUID as an argument. The generated
makepy shows that the function is expecting a VT_RECORD. I cannot seem to
pass in the CLSID, I get the following:
TypeError: Only com_record objects can be used as records
I looked at the win32com.client.Record function, b
Hello all,
I am experiencing a weird problem when using third-party software
through COM. There is an API function X belongs to Object A from that
third-party software. I use python generated COM interface and use
dispatch to get that Object A. Then I call that function X in python.
The function
Why not just format the entire column as string data, before calling Python?
That's just requires a few menu clicks, then pass that column to Python.
Another option is to use a Python library called xlrd, which reads
Excel (.XLS) files from Python.
This way you can avoid using COM and the need to
Hi!
Because Protected mode need to activate UAC, I prefer to test (to try) on a
virtual-PC. I have done a Vista-premium with UAC on, Security center on,
Protected mode on.
In the passing, I benefitted from it to test my procedures of installation
for Vista.
Results :
iebutton: install OK
Hi,
Are you wanting to use Python in Excel instead of VBA? There's a thread
about just that sort of thing here:
http://www.velocityreviews.com/forums/t319222-re-python-in-excel.html
Otherwise you'll need to figure out how to use VBA to do some kind of
Python voodoo to check the data type. I supp
Greetings Friends,
I'm having a problem with IE7 on Vista under "Protected mode". The
python win32com sample "ietoolbar" even doesn't load under protected
mode enable condition on IE7 vista.
Are your plug-ins for Internet Explorer (IE7) working on Vista
"Protected Mode" enable (on) ? If yes, c
I know how to write the macro using VB, but I don't know how to do the
same thing using python -- where is the option available etc.
Can you give me any reference?
Thanks and Regards.
Pallavi Ajabrao Apotikar
Tata Consultancy Services
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com
Tova Sirkis wrote:
> urllib2.urlopen(url) only returns the static part of the url.
> Is it possible, with python, to get the dynamic parts of the url, too?
> (for example ads)
> If yes, how?
It is possible - although can be difficult as ads are usually fetched
with Javascript. You can certainl
On Jan 31, 2008 12:36 PM, Pallavi Apotikar <[EMAIL PROTECTED]> wrote:
>
> Actually, I have an excel sheet, where I am entering the data.
>
> I am reading the entered data in python.
>
> excel takes data as a string.
>
> before passing it to python, i wanted to check whether the entered
> data(valu
urllib2.urlopen(url) only returns the static part of the url.
Is it possible, with python, to get the dynamic parts of the url, too? (for
example ads)
If yes, how?
Thanks
Tova Sirkis
___
python-win32 mailing list
python-win32@python.org
http://mail.py
Actually, I have an excel sheet, where I am entering the data.
I am reading the entered data in python.
excel takes data as a string.
before passing it to python, i wanted to check whether the entered
data(value) is a valid python data type.
so instead of checking this in python script(/ say
On Jan 31, 2008 11:43 AM, Pallavi Apotikar <[EMAIL PROTECTED]> wrote:
>
> Hello Sir/Madam,
>
> I would like to know, is it possible to read a python file from an excel
> sheet ?
>
> Thanks and Regards
>
> Pallavi Ajabrao Apotikar
>
I don't fully understand what you are asking,
But...
If you wh
Hello Sir/Madam,
I would like to know, is it possible to read a python file from an excel
sheet ?
Thanks and Regards
Pallavi Ajabrao Apotikar
Tata Consultancy Services
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com
Experience certainty. I
It would be good if you knew the IDL signature of the args - its not clear
if they are truly byref, or simply "out". Named params might also be
getting in the way.
Try these - one might work :)
GetCentroid(first, scnd)
GetCentroid()
GetCentroid(pythoncom.Missing, pythoncom.Missing)
M
15 matches
Mail list logo