Re: [python-win32] Reading .py or .pyc from an excel sheet

2008-01-31 Thread Pallavi Apotikar
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

[python-win32] How to get the dynamic parts of the url, with python ?

2008-01-31 Thread Tova Sirkis
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

Re: [python-win32] Reading .py or .pyc from an excel sheet

2008-01-31 Thread Graeme Glass
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(value) is a

Re: [python-win32] How to get the dynamic parts of the url, with python ?

2008-01-31 Thread Michael Foord
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 certainly

Re: [python-win32] python-win32 Digest, Vol 58, Issue 53

2008-01-31 Thread Mike Driscoll
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

Re: [python-win32] COM server support on Vista

2008-01-31 Thread Michel Claveau
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

Re: [python-win32] Reading .py or .pyc from an excel sheet

2008-01-31 Thread Tony Cappellini
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

[python-win32] parameters got changed after passing to a function through COM

2008-01-31 Thread Chen Huang
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

Re: [python-win32] How to create a com_record?

2008-01-31 Thread Mark Hammond
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.