473,785 Members | 2,327 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

The ONLY thing that prevents me from using Python

I have been using java (jsp/servlets), vb/asp and perl for a few years.
Almost all my projects are web site development related, and many of my
clients' web sites are hosted on those shared web hosting services.

The problem is that it's difficult to find hosting services with Python
installed and supported. And most hosting companies are reluctant to
install it for you because they don't want to do the extra work(they
would always say to me, why don't you use php or java or asp or per?).
I have searched and found some companies that support Python. But still
there are far few choices than other options.

I am sure this issue has already been raised a billion times. I just
feel very frustrated on this. I want to learn and use Python in my web
projects.

One day in last December I decided to learn Python, because of Bruce
Eckel's recommendation on his web site (I started java with his book).
After writing a few scripts (each with a hundred lines or less), I
really liked Python, even though at first to me, it has a very
different style and mindset from my accustomed java approach. I enjoyed
the experience and was ready to delve into the OO and other aspect of
Python.

But because of the hosting issue, I stopped and since then have spent
more time on php, and it seems that I would soon become a full time
PHPer now.

I really wish Python could be more widely available on web server
machines. This is just my own experience and I would like to hear your
comments.

Aug 5 '05
19 1821
Magnus Lycka wrote:
Martin P. Hellwig wrote:
Kevin wrote:
<cut, can't get as many python web hosters as I want>

Well, for some strange reason I have never found that to be a problem.

If you develop software for an external customer, and they have
an existing web site run by some ISP that you have no control over,
this might well be a problem.


Yes indeed there are a *load of companies not interested in technology
they just want a fancier web page then their rivals, for them this is
definitely a problem well actually it's a problem for the developer.
Do you tell the client to do it your way or do you do it their way.
It all depends, I work in and for non-profit organization so I mostly I
can do what I think is the best solution. I'll explain that and what the
advantage or dis-advantage is of all different possibilities.

Even if the customer is in control of their web servers, it might be
difficult to convince them to install and maintain something like
Python on them.

I find it a bit surprising that so many people on comp.lang.pytho n
don't realize what kind of practical complications most commercial
software developers have to struggle with if they don't just follow
the mainstream and use PHP or Java for all web apps.
Yeah well, I remember that I had a hard time getting java support
instead of cgi alone, then somewhat later I've had that with perl and
PHP and whatever, it always feels like playing catch up.
I really had it with all that begging to get this or that supported.
I've been bitten so many times over support issues that it isn't even
funny anymore, so in the end I realized that the only way to get it down
in a acceptable way is to do it myself or source it to a small company
that needs the customer.

My ISP (FS Data in Sweden) has Python installed, and always upgraded
it when I asked them (but only then, so I suspect I'm the only user--
and this is one of the biggest ISPs in Sweden).
As I said above, I found it more likely to get support from smaller
companies then the bigger ones.

Even if I have access to Python, they don't allow me to have my own
long running processes, so I'm stuck with CGI, which wouldn't work
very well with a much higher load than my moin has. (Actually, I
didn't really need more, so I haven't asked for mod_python support
etc.)

Colocation is certainly getting much cheaper, my ISP charges much less
than 95EUR/month.(295 SEK). Still, it would certainly be great if
mod_python, twisted and zope support etc would be as common as mod_perl
or PHP support. We can only get that if we actively ask for it, and if
we really favour vendors that provide this support when we can.


But overall I must say the I agree with you, and that this chicken/egg
problem can only be resolved by further popularity of python.

--
mph
Aug 5 '05 #11
lazy newbie programmers, that is what the world needs more of for sure!

Aug 5 '05 #12
D H
I would highly recommend user-mode linux (UML) hosting, like bytemark or
Linode: http://user-mode-linux.sourceforge.net/uses.html

Starting around the same price as average shared hosting, you get your
own virtual linux box (i recommend debian), on which you can install
java, mod_python, php, mono, jabber, or whatever you need. You are no
longer subject to the whims of the hosting provider, with respect to
things like which version of PHP they support, or how many mysql
databases you can create.
Aug 5 '05 #13
"Paul McGuire" <pt***@austin.r r.com> writes:
Once you find your service based on price/support/etc., send them an
e-mail asking for Python support. The worst they can say is "no, and
we never will," but just as likely they might respond "yes, it's
already there" or "yes, we can add that".


The only way ISPs will find out that Python is popular is if potential
customers tell them they need it. So if they say no, be *sure* and
tell them you won't be using them because of that.

<mike
--
Mike Meyer <mw*@mired.or g> http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
Aug 6 '05 #14
EP
Mike Meyer writes:

The only way ISPs will find out that Python is popular is if potential
customers tell them they need it. So if they say no, be *sure* and
tell them you won't be using them because of that.

I think this is an issue of critical mass, but I know minds the like of this group will immediate see that something as general as critical mass can be further reduced.

Point being, all one needs is critical mass at a given point to overcome the inertia at that point.

By overcoming inertia, and getting change at that point, if that point is visible to other major points, you can change thought on the larger scale.
<warning, some elements of this message may be considered commercial and ortroublemaking in nature>

Personally, my current needs are sub collocation or dedicated server. In respect of a good ISP (though I may be breaking all usenet etiquette by mentioning a specific hosting company), I have been treated well by Zettai.net (Zope, Plone, Python + the usual other languages) -- and I get a lot of value there. I have no desire to move. Good people, and nice hosting if youlike Unix.

However, I would really like to see Python hosting part of the normal competitive hosting landscape, at least for the reasons mentioned --- sometimes we do not get to pick the host. What percent of the commercial hosting servers will my (Python) code run on? It is a small number, I think.
So, if this issue were going to get some attention from some Pythonistas, what are the 2,3 or 5 hosting companies we would most like to see Python hosting offered by? And what are their e-mail addresses?
I would certainly nominate GoDaddy.com (sa***@goDaddy. com), who haves done a tremendous job on domain name registration, and may end up with a very large footprint in the (recently launched) hosting business. Python should definitely run on their servers (filers?). For the betterment of mankind.
Anyway, just a thought.

EP

Aug 6 '05 #15
Mike Meyer <mw*@mired.or g> writes:
The only way ISPs will find out that Python is popular is if potential
customers tell them they need it. So if they say no, be *sure* and
tell them you won't be using them because of that.


I think the issue is low cost web hosts, not ISP's. PHP is much more
available than Python among low cost hosts because those languages let
multiple user scripts run in the same process without being able to
mess with each others' data. That means the hosting service can run a
single Apache instance with mod_php and thousands of virtual hosts all
on the same IP address without needing to fork new processes for every
user script. I'm not sure if mod_perl is the same way.

Some hosts do let you use perl cgi's, forking a new process for every
script invocation, and those hosts may as well also offer Python. But
I think the really cheap hosts don't let you use any cgi's.
Aug 7 '05 #16
>>>>> "Kevin" == Kevin <81****@gmail.c om> writes:

Kevin> I have been using java (jsp/servlets), vb/asp and perl for
Kevin> a few years. Almost all my projects are web site
Kevin> development related, and many of my clients' web sites are
Kevin> hosted on those shared web hosting services.

Kevin> The problem is that it's difficult to find hosting services
Kevin> with Python installed and supported. And most hosting
Kevin> companies are reluctant to install it for you because they
Kevin> don't want to do the extra work(they would always say to
Kevin> me, why don't you use php or java or asp or per?). I have
Kevin> searched and found some companies that support Python. But
Kevin> still there are far few choices than other options.

Kevin> I am sure this issue has already been raised a billion
Kevin> times. I just feel very frustrated on this. I want to learn
Kevin> and use Python in my web projects.

Kevin> One day in last December I decided to learn Python, because
Kevin> of Bruce Eckel's recommendation on his web site (I started
Kevin> java with his book). After writing a few scripts (each
Kevin> with a hundred lines or less), I really liked Python, even
Kevin> though at first to me, it has a very different style and
Kevin> mindset from my accustomed java approach. I enjoyed the
Kevin> experience and was ready to delve into the OO and other
Kevin> aspect of Python.

Kevin> But because of the hosting issue, I stopped and since then
Kevin> have spent more time on php, and it seems that I would soon
Kevin> become a full time PHPer now.

Kevin> I really wish Python could be more widely available on web
Kevin> server machines. This is just my own experience and I would
Kevin> like to hear your comments.

Not to be a shill, but I'd be interested in testimonials on
http://linode.org/
I wonder if virtualization is the next killer app.
Certainly blows the WTF my ISP? question away...
-Chris
Aug 24 '05 #17

[Chris]
Not to be a shill, but I'd be interested in testimonials on
http://linode.org/
I wonder if virtualization is the next killer app.
Certainly blows the WTF my ISP? question away...


I can't speak for linode.org, but I have a Xen VPS from rimuhosting.com
and it's early days but so far I've been very impressed. It's $19/mo
(normally $20 but they kindly gave me a 5% Open Source Developer discount)
which is not that much more than a decent shared hosting account. You
need to be comfortable with administering your own Linux box, but these
days that's not difficult. (NB. entrian.com is not running on it yet.)

--
Richie Hindle
ri****@entrian. com
Aug 24 '05 #18
Richie Hindle <ri****@entrian .com> writes:
I can't speak for linode.org, but I have a Xen VPS from rimuhosting.com
and it's early days but so far I've been very impressed. It's $19/mo
(normally $20 but they kindly gave me a 5% Open Source Developer discount)


Do you get enough resources in that minimal-cost configuration to run
significant Python applications?
Aug 24 '05 #19
D H
Paul Rubin wrote:
Richie Hindle <ri****@entrian .com> writes:
I can't speak for linode.org, but I have a Xen VPS from rimuhosting.com
and it's early days but so far I've been very impressed. It's $19/mo
(normally $20 but they kindly gave me a 5% Open Source Developer discount)

Do you get enough resources in that minimal-cost configuration to run
significant Python applications?


Yes, you get more than enough to run python apps. You have to know how
to run your own linux box though, including installing and configuring
any extra software you want (with debian it's very easy using 'sudo
apt-get'). Mod_python for example and apache2.

I would look for a minimum 64mb ram, 3 gigs hd space, and minimum 15
gigs transfer/mo. At $20/mo, rimuhosting gives you 96mb ram, 4gig
space, and 30gigs transfer/mo. So that does look like a good deal.

(I don't use or work with any UML hosting provider. I used to have
Bytemark, and it was great, although it looks like rimu and others may
offer more for your buck now)

The catch is the RAM restriction, which you might run into if you have
huge mysql databases or whatever, and hard drive access is a slower than
on a dedicated server. But I never noticed any slowdowns or ran into
ram limitations.
Aug 24 '05 #20

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
1755
by: John Benson | last post by:
Hi, I see a lot of posts asking about "the best Python book." In my experience, there is no such thing, but there are a lot of good books that will help you along in different ways, and at different times. First of all, I'd like to clarify my position on learning: I subscribe to the adobe hacienda school of autodidactic technology, to wit: "If you throw enough adobe at the side of the hacienda, some of it will stick"
9
4713
by: syd | last post by:
I don't even know where to begin. This is just bizarre. I just picked up the Gnuplot.py module (a light interface to gnuplot commands) and was messing around with it today. I've got a tiny script, but it only works from the command line about half the time! In the python interpreter, 100%. Ipython, 100%. I'm not kidding. #!/bin/env python import Gnuplot
0
1657
by: Rea Peleg | last post by:
link to configuration file prevents user control download to internet explorer Hi I have a simple web application which consists an opening html page with a (windows form user) control which on click event should download an assembley from the server site to client ie. Opening page displays correctly with control when it does not include the
231
23247
by: Brian Blais | last post by:
Hello, I saw on a couple of recent posts people saying that casting the return value of malloc is bad, like: d=(double *) malloc(50*sizeof(double)); why is this bad? I had always thought (perhaps mistakenly) that the purpose of a void pointer was to cast into a legitimate date type. Is this wrong? Why, and what is considered to be correct form?
6
11271
by: Jm | last post by:
Hi All I have a simple vb.net app that once run for some reason does not allow me to log off or shutdown the pc ? When i try to do so it will close my app and then will only shutdown or logoff if i attempt to do so once again ? Does anybody have any does why this would be so ?
0
1029
by: Dean Hinson | last post by:
troHello, I write alot of VB Scripts to review AD information. I decided to use VB ..net and incorporate the functions of my various scripts into one program. However, using .net 2.0 framework GetAccessControl prevents me from accesssing the AD. I was able to do this before using ADsSecurity, so what has changed? Is there some new methodology that I must code that allows access to review the AD?
45
2074
by: dolphin | last post by:
Is it a good thing that program mix C and C++?
1
1996
by: Eric Hanchrow | last post by:
(This is with Python 2.5.2, on Ubuntu Hardy, if it matters.) This seems so basic that I'm surprised that I didn't find anything about it in the FAQ. (Yes, I am fairly new to Python.) Here are three tiny files: ==== mut.py ==== import system
3
1694
by: J. Cliff Dyer | last post by:
On Thu, 2008-05-08 at 12:00 -0700, Eric Hanchrow wrote: It's the same reason as this: 5 5 6 5 Python "variables" are just names that point at objects. When you
0
9647
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9491
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10163
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10104
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8988
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7510
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6744
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5397
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.