Just a note to all users who might have Python extensions installed.
With the move to LO4, the version of python that is included in LO was
moved to 3.x instead of 2.x, as can be found in LO versions 3.3.x to 3.6.x.
This means that those Python extensions, e.g. MRI, pycalendar, etc, that
were written for Python 2.x need to be rewritten in order to function on
LO4. If, for example, you see error messages relating to :
"invalid syntax" this often means using "print" as a statement, not a
function, or a whitespace inconsistency (tabs vs. spaces) which was
(fortunately) promoted to a syntax error in Python 3.
"you can point the author to http://python3porting.com/ which is very
useful... if you read carefully you can even figure out how to make
things run on both Python 2 and 3 (all Python code shipped with LO
should hopefully be able to do that)."
Alex
--
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
Context
- [libreoffice-users] Python extensions and LO4 · Alexander Thurgood
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.