Hello,
I suspect my open office is using an old version of python as I cannot call the sorted function.
But if I run python on the terminal I have version 2.5 and I am able to use sorted.
Is this possible?? Thanks,
Saleem
Python version
Python version
OpenOffice 3.4.0
Mac OS X 10.5.8
Mac OS X 10.5.8
Re: Python version
I added the following code to my script
import sys
print sys.version
I get 2.3.5
When I run on the terminal the python version is 2.5...
How do I get OpenOffice to use the later version of the python interpreter to run my script.
Thanks,
Saleem
import sys
print sys.version
I get 2.3.5
When I run on the terminal the python version is 2.5...
How do I get OpenOffice to use the later version of the python interpreter to run my script.
Thanks,
Saleem
OpenOffice 3.4.0
Mac OS X 10.5.8
Mac OS X 10.5.8
- Charlie Young
- Volunteer
- Posts: 1559
- Joined: Fri May 14, 2010 1:07 am
Re: Python version
I have AOO 3.4 on Windows, and sorted() works fine for me. That version number looks low, however.saleem145 wrote:I added the following code to my script
import sys
print sys.version
I get 2.3.5
When I run on the terminal the python version is 2.5...
How do I get OpenOffice to use the later version of the python interpreter to run my script.
Thanks,
Saleem
Edit: I show version 2.6.1 |
Apache OpenOffice 4.1.1
Windows XP
Windows XP
Re: Python version
Sorted is not part of python version 2.3.5 -- I have verified this. Thanks.
OpenOffice 3.4.0
Mac OS X 10.5.8
Mac OS X 10.5.8