I'm trying to read excel from Cinema4d using python. I believed this can be achieved using XLWT
. Where did I should copy and pasthe the XLWT
package in Mac ? I know in Window the location is here : C:\\Users\\user\\AppData\\Roaming\\MAXON\\CINEMA 4D version\\library\\python\\packages\\
. How about Mac?
Since Python is already on OS X you should be able to use:
easy_install xlwt
or
pip install xlwt
If you download xlwt then you could use:
python setup.py install
You have to install the python packages into the Python Library Folder of Cinema4D. If you select the Preferences Menu in Cinema4D there is a Button called "Open Preferences Folder..." this will lead to a folder called CINEMA 4D R_ Inside this folder library/python/packages/osx/ is the folder where you have to install the xlrd and xlwt packages. If this is successful you should be able to access Excel files...
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.