Any plans to update python to 2.6?

Status
Not open for further replies.

durand

New Member
Messages
8
Reaction score
0
Points
0
Hi,

I've looked on the forums a fair bit but I couldn't find anything about your plans for python. Would it be possible to update it to python 2.6 ? It has been out for a fairly long time and we're still on 2.4.3 here. Some threads seem to say that python 2.6 is being used but that doesn't seem to be the case for my account. I'm using /usr/bin/env python to access it and I get 2.4.

Thanks!
Durand
 

leafypiggy

Manager of Pens and Office Supplies
Staff member
Messages
3,819
Reaction score
163
Points
63
I'm on my mobile device right now, so I can't check, but is 2.6 a stable version of python? We don't use development/beta/unstable software versions in active deployment for obvious reasons.
 

dlukin

New Member
Messages
427
Reaction score
25
Points
0
Code:
#! /usr/local/bin/python2.6

import sys


print 'Content-Type: text/html'
print ''
print '''<html>
<head>
<title>Python Test</title>
</head>
<body>
<h2>Hello from Monty</h2>'''
print  sys.version
print '''</body>
</html>'''

On Boru, this shows 2.6.5 is used if called.
The latest production version of Python is 2.7, so 2.6 is stable.
 

durand

New Member
Messages
8
Reaction score
0
Points
0
ooh, you're right. So python 2.6 is present but it's not set as the default for python. Maybe an administrator could change that to help others unless there's a reason not to do that...
Thanks dlukin!

---------- Post added at 02:28 PM ---------- Previous post was at 02:23 PM ----------

Actually, while it is installed, I can't import sqlite. See here:
http://durand1.co.cc/website/test.py
 
Status
Not open for further replies.
Top