By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,907 Members | 1,963 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,907 IT Pros & Developers. It's quick & easy.

google earth / pythoncom

P: n/a

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
Share this Question
Share on Google+
1 Reply


P: n/a
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.