xlrd question

jay jyoung79 at kc.rr.com
Sun Aug 5 14:43:47 EDT 2007


Hi Has,


>> 2.3.5 (#1, Jan 30 2006, 13:30:29)
>> [GCC 3.3 20030304 (Apple Computer, Inc. build 1819)]
>> /System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
>> python2.3/site -packages/
>> xlrd/__init__.pyc
>
> Note that:
>
> /System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
> python2.3/
> site-packages
>
> is actually just a symlink to:
>
> /Library/Python/2.3/site-packages
>
> While third-party modules do usually go in python2.x/site-packages,
> Apple don't like users messing about in /System so their stock Python
> installation keeps third-party modules under /Library instead...


Thanks very much for your incredibly helpful and detailed  
info!  :-)    So if I'm understanding this correctly, it really only  
installs something in '/Library/Python/2.3/site-packages' (as well as  
an alias to it from '/System/Library/Frameworks/Python.framework/ 
Versions/2.3/lib/python2.3/site-packages').  I'll keep the  
documentation, etc. as you encouraged.


> You can script Excel directly from Python via appscript which talks to
> scriptable Mac apps via the same API as AppleScript:...


Very cool!  Thanks very much for sharing this.  I'll definitely look  
into 'appscript'.


> If you need more info just ask.


Thanks again Has, for taking the time to share all this!  I really  
appreciate it!

Jay




More information about the Python-list mailing list