Go Back   HostGator Peer Support Forums > Public Forums > Suggestions

Notices

Reply
 
Thread Tools
  #1  
Old 09-03-2009, 04:45 AM
pruhster pruhster is offline
Hatchling Croc
 
Join Date: Sep 2009
Posts: 1
Default Python 3

One of the main reasons I chose hostgator was because it offered Python.
I was disappointed to find out that the server has python 2.4.3 installed, which is quite an outdated version (2005?).
Python 3 has been out for quite a while now (already up to 3.1.1) and offers a lot of improvements and is much easier to work with.

Whenever I ask about it (either in chat or e-mail support) I get answers like "we don't have plans either to provide it or not to provide it". Well why don't you at least consider it?
Reply With Quote
  #2  
Old 09-25-2009, 10:12 AM
robacarp robacarp is offline
Hatchling Croc
 
Join Date: May 2008
Posts: 2
Default Re: Python 3

Ditto.

The message you have entered is too short. Please lengthen your message to at least 10 characters
Reply With Quote
  #3  
Old 09-25-2009, 10:23 AM
GatorFord's Avatar
GatorFord GatorFord is offline
HostGator Staff
 
Join Date: Jan 2007
Location: Houston, TX
Posts: 1,525
Default Re: Python 3

We are awaiting cPanel to integrate their backend applications to use Python 3 fully. At this point Mailman and other backend cPanel scripts run with Python 2.4.x and we have not yet received any official reports that it works properly in Python 3 yet. Once cPanel has shown that their applications will work properly with Python 3 we should be able to get this installed as the default version of Python.
__________________
Ford M.

Folding@Home Stats :
Reply With Quote
  #4  
Old 09-29-2009, 04:35 PM
whitespace whitespace is offline
Hatchling Croc
 
Join Date: Dec 2008
Posts: 18
Default Re: Python 3

yep, please upgrade to Python 3!
Reply With Quote
  #5  
Old 03-31-2010, 11:00 AM
rehnstromer rehnstromer is offline
Hatchling Croc
 
Join Date: Dec 2007
Posts: 1
Default Re: Python 3

Any news on this?
Reply With Quote
  #6  
Old 05-13-2010, 10:22 PM
chris.darby chris.darby is offline
Hatchling Croc
 
Join Date: Dec 2007
Posts: 1
Default Re: Python 3

Yes, have there been any changes/updates in this regard? Thank you.
Reply With Quote
  #7  
Old 05-17-2010, 12:15 AM
kolinnpush kolinnpush is offline
Hatchling Croc
 
Join Date: Apr 2010
Posts: 1
Default Python if string is in date format?

I am selecting a list of date strings from a mysql database of the format "d%m%y:%H:%M" but there is some a small minority of strings coming through that are of a different form. What I want to do is check if the string is of the form "d%m%y:%H:%M" and if it is then execute a few commands but if it isnt of that form then set the string as null.
So,
if string == date_format:
execute
else:
string = NULL
Force Factor
Reply With Quote
  #8  
Old 09-13-2010, 06:07 PM
phgamer phgamer is offline
Hatchling Croc
 
Join Date: Oct 2009
Posts: 3
Default Re: Python 3

So whats happening with Python 3? any chance of it coming around on the servers?
Reply With Quote
  #9  
Old 09-14-2010, 06:31 AM
GatorDavid's Avatar
GatorDavid GatorDavid is offline
HostGator Staff
 
Join Date: May 2007
Posts: 1,825
Default Re: Python 3

Quote:
Originally Posted by phgamer View Post
So whats happening with Python 3? any chance of it coming around on the servers?
I've got python3.1.2 on the boxes going forward from now on. Submit a ticket to support@hostgator.com to get it installed on your server. Thanks!

Edit: Note that common modules such as Django, flup, and mysqldb are not compatible with Python 3. I recommend that you use Python 2.4 or Python 2.6 for web use.
__________________
David I.
Level III Linux Systems Administrator
Hostgator.com LLC

Last edited by GatorDavid; 09-14-2010 at 02:06 PM.
Reply With Quote
  #10  
Old 09-14-2010, 01:26 PM
GatorCarl's Avatar
GatorCarl GatorCarl is offline
HostGator Staff
 
Join Date: Sep 2007
Location: Oz
Posts: 421
Default Re: Python 3

Also, python 2.6.5 is available. Please use the following path for the interpreter.

/usr/local/bin/python26
Reply With Quote
  #11  
Old 09-30-2010, 10:24 PM
janicemcnear janicemcnear is offline
Hatchling Croc
 
Join Date: Dec 2009
Location: California, USA
Posts: 3
Question Re: Python 3

Quote:
Originally Posted by GatorFord View Post
We are awaiting cPanel to integrate their backend applications to use Python 3 fully. At this point Mailman and other backend cPanel scripts run with Python 2.4.x and we have not yet received any official reports that it works properly in Python 3 yet. Once cPanel has shown that their applications will work properly with Python 3 we should be able to get this installed as the default version of Python.
cPanel already has a version cPanel 3 VPS optimized maybe this one has Python 3 support.
Reply With Quote
  #12  
Old 10-02-2010, 04:55 PM
GatorDavid's Avatar
GatorDavid GatorDavid is offline
HostGator Staff
 
Join Date: May 2007
Posts: 1,825
Default Re: Python 3

Quote:
Originally Posted by janicemcnear View Post
cPanel already has a version cPanel 3 VPS optimized maybe this one has Python 3 support.
It's highly unlikely- cPanel's philosophy is to not change anything that diverges from CentOS's default repos. CentOS 6 (currently in development, slated for release by maybe the end of this year) gets its core packages from upstream (RHEL 6- currently in beta) which if I am correct, is using Python 2.6. So at the earliest, we will see cPanel supporting Python 3.0 in CentOS 7/RHEL 7 (maybe 2013-ish at the earliest). This isn't a guarantee, and it could be as late as CentOS 8 or 9 before we ever see Python 3.0 incorporated into mainstream, which means the second half of this decade for cPanel support.
__________________
David I.
Level III Linux Systems Administrator
Hostgator.com LLC

Last edited by GatorDavid; 10-02-2010 at 04:59 PM.
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Python ncspro Shared Hosting Support 2 11-25-2005 09:37 AM
Concerning python BernieKe Suggestions 0 11-05-2005 02:13 AM

All times are GMT -6. The time now is 08:30 PM.