471,313 Members | 1,924 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,313 software developers and data experts.

google earth / pythoncom


Hi,

I'd like to write a python script to control Google Earth,
and I've read that Google Earth provides a COM api, and that
Python has a COM module 'pythoncom'.

Anyone know where to get pythoncom from - as a separate module,
because I'm using the Python application that comes with my GPS
chip, from Telit :-

http://www.telital.com/toru/TelitPy1_5_2+_v4_1.zip

NB. this (I'm told) is a reduced version of Python that allows
me to run 'EZPython' scripts on the GPS chip.

The Python script I want to run to control Google Earth will be
on the PC (WinXP) - so maybe I should install the 'normal/full'
Python on the PC too - if that can be done ? Have 2 Pythons installed
on one PC ?

Any advice welcome.

Thanks,
john.
Nov 15 '07 #1
1 3281
On Thu, 2007-11-15 at 18:09 +0000, John Walsh wrote:
Hi,

I'd like to write a python script to control Google Earth,
and I've read that Google Earth provides a COM api, and that
Python has a COM module 'pythoncom'.
I think what you are looking for you can download from here:

http://sourceforge.net/project/showf...group_id=78018

The main page is here:

http://starship.python.net/crew/mham...Downloads.html
The Python script I want to run to control Google Earth will be
on the PC (WinXP) - so maybe I should install the 'normal/full'
Python on the PC too - if that can be done ? Have 2 Pythons installed
on one PC ?
You can have two python installations on one pc. You have to use the
full path to the interpreter to get the one you want. Or, the first one
it finds in your path will be used.

HTH,
Tom

Nov 15 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Ashley | last post: by
2 posts views Thread by John J. Lee | last post: by
reply views Thread by gloom | last post: by
reply views Thread by Olaf Meding | last post: by
1 post views Thread by fraca7 | last post: by
1 post views Thread by xahlee | last post: by
reply views Thread by Gabriel Genellina | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.