r/OfficeScripts • u/throwOHOHaway • Mar 01 '13
[DISCUSSION] What version(s) of Python should Office Scripts support?
As most of you probably know, most of the scripts on the git have been developed with Python 2.x. We've received a lot of advice about OS supporting primarily Python 3.x, I want to hear from you! Leave your two cents in the comments section, a decision will be made stemming from the discussion in this thread over the next two days.
6
Upvotes
7
u/throwOHOHaway Mar 01 '13
My two cents: While it is important to be progressive, several libraries are only compatible for earlier Python versions, and as such I feel like we'd be limiting ourselves by developing in Python 3.x at this point.
While supporting both would be nice, I feel like that would only be adding needless complexity to this project.
4
u/ChanceDriven Mar 01 '13 edited Mar 01 '13
Why not allow people to program in the version they like? When I started (3 months ago) I saw that three is clearly bigger than two(I had no idea about libraries really even). Any script I provide personally would be in 3.
*Edited to sound less passive agressive
5
u/[deleted] Mar 04 '13
Can we use tags, so that someone can look for 3.x scripts, and convert them to 2.6+- and vice versa- if they so choose? Or perhaps someone can request a conversion of a particular script?
4
u/bheklilr Mar 04 '13
I would leave it unrestricted, but 3.X should be recommended, and then ask that if people submit in 2.7 that they try to add a 3.X version when they can.
3
u/OCHawkeye14 Mar 04 '13
Just one person's opinion, but as Python 2.7 is native in many Linux distros that is the version I tend to gravitate to most frequently.
2
u/KnottedSurface Mar 05 '13
I would recommend staying 2.6+ because of library support and this being the default Python on many Linux distributions. I've also found 2.x to be installed on many highschool and university computers through the years.
1
u/[deleted] Mar 01 '13
2.6+