Python is my favorite language. Very often, I am forced to use other languages
like php because of better library support for web applications. Is it possible
to write functions in python and then get php to call these functions?
Thank you
--
On Sat, Dec 14, 2013 at 12:42 PM, JL lightai...@gmail.com wrote:
Python is my favorite language. Very often, I am forced to use other
languages like php because of better library support for web applications. Is
it possible to write functions in python and then get php to call these
and then get php to call these
functions?
At one time, Songza was half PHP, half Python. The parts ran in
separate processes, communicating over HTTP. I think that's probably
what you want to do here.
If you define a clean, and well-documented interface, nobody has to know
what language
, XPS, EMF, .NET/GDI+, etc.
- PDF Printing
- PDF viewing and markup
- PDF Forms
- PDF Content Extraction
- PDF Redaction
- Silverlight Viewer for PDF
For a high-level overview of available functionality please see:
http://www.pdftron.com/pdfnet/features.html
WHAT'S NEW ?
Support for PYTHON, Ruby
Diez B. Roggisch de...@nospam.web.de (DBR) wrote:
DBR Jean-Claude Neveu schrieb:
I'm looking for a recommendation about encryption/decryption packages for
Python.
I'm working on a project that will require me to store some values in a
database in encrypted format. I'll be storing them from
I'm looking for a recommendation about encryption/decryption packages
for Python.
I'm working on a project that will require me to store some values in
a database in encrypted format. I'll be storing them from a PHP
script and retrieving them (decrypting them) using Python. I'm
currently
Jean-Claude Neveu schrieb:
I'm looking for a recommendation about encryption/decryption packages
for Python.
I'm working on a project that will require me to store some values in a
database in encrypted format. I'll be storing them from a PHP script and
retrieving them (decrypting them)
Jean-Claude Neveu jcn-france1...@pobox.com writes:
I'm working on a project that will require me to store some values in
a database in encrypted format. I'll be storing them from a PHP script
and retrieving them (decrypting them) using Python. I'm currently
using PHP's mcrypt package to
There are others but they do not support both Python and PHP. Should
I implement my own ORB, or do you know a suitable solution?
The whole purpose of an ORB ist that it is interoperable. So if you
have a good python orb (I personally prefer OmniORB), and a good one
for PHP - connect them
Laszlo Nagy schrieb:
There are others but they do not support both Python and PHP. Should
I implement my own ORB, or do you know a suitable solution?
The whole purpose of an ORB ist that it is interoperable. So if you
have a good python orb (I personally prefer OmniORB), and a good one
are our options? I checked these:
- Bonobo is the most advanced, but it can only handle C language
- FNORB is good for Python, but not for PHP
- OmniORB would be very good for C and Python, but not PHP
There are others but they do not support both Python and PHP. Should I
implement my own ORB
to use free
software. What are our options? I checked these:
- Bonobo is the most advanced, but it can only handle C language
- FNORB is good for Python, but not for PHP
- OmniORB would be very good for C and Python, but not PHP
There are others but they do not support both Python and PHP. Should I
On Jun 25, 6:59 pm, nicodotti2 [EMAIL PROTECTED] wrote:
On Jun 25, 1:50 pm, Larry Bates [EMAIL PROTECTED] wrote:
nicodotti2 wrote:
Don't ask me why, but we have a bunch of legacy code in PHP on a
server and a wee-bit of Python code for integrating GData google
calendar services. We
Don't ask me why, but we have a bunch of legacy code in PHP on a
server and a wee-bit of Python code for integrating GData google
calendar services. We now need to build a way of sending messages
between them. The general flow is:
PHP Web Page(on apache) --- Python Gdata Consumer - Gdata
and
nicodotti2 wrote:
Don't ask me why, but we have a bunch of legacy code in PHP on a
server and a wee-bit of Python code for integrating GData google
calendar services. We now need to build a way of sending messages
between them. The general flow is:
PHP Web Page(on apache) --- Python Gdata
On Jun 25, 1:50 pm, Larry Bates [EMAIL PROTECTED] wrote:
nicodotti2 wrote:
Don't ask me why, but we have a bunch of legacy code in PHP on a
server and a wee-bit of Python code for integrating GData google
calendar services. We now need to build a way of sending messages
between them. The
On Jun 25, 1:50 pm, Larry Bates [EMAIL PROTECTED] wrote:
nicodotti2 wrote:
Don't ask me why, but we have a bunch of legacy code in PHP on a
server and a wee-bit of Python code for integrating GData google
calendar services. We now need to build a way of sending messages
between them. The
On May 24, 5:01 pm, Graham Dumpleton [EMAIL PROTECTED]
wrote:
On May 25, 5:24 am, aspineux [EMAIL PROTECTED] wrote:
On 24 mai, 19:33, Szabolcs Nagy [EMAIL PROTECTED] wrote:
Is there a way I could code the base (core) code in Python and have
PHP call it? I've really liked using
in Python and have
PHP call it? I've really liked using SQLAlchemy and there are other
* quick and dirty solution:
in a shell:
$ python yourscript.py pipe_in pipe_out
in the php script:
fwrite(pipe_in, input_data);
results = fread(pipe_out, sizeof_results
processing.
There is also the possibility of building client gui applications that
work with the database as well, so I'm looking for a way I could
create a code base that enables us to use the same functions and
objects over and over again while building interfaces in Python, or
PHP, or whatever
Is there a way I could code the base (core) code in Python and have
PHP call it? I've really liked using SQLAlchemy and there are other
* quick and dirty solution:
in a shell:
$ python yourscript.py pipe_in pipe_out
in the php script:
fwrite(pipe_in, input_data);
results = fread
again while building interfaces in Python, or
PHP, or whatever.
Is there a way I could code the base (core) code in Python and have
PHP call it? I've really liked using SQLAlchemy and there are other
great things like Pylons I could integrate for various tasks, but I
first have to move some
* simple and nice solution:
do not ever use php
I'd like not to use it at all, but there's already been quite a bit of
work done with it and I'm sure I won't be able to have it all removed
at one time. I REALLY don't like debugging PHP especially after all
the stuff I've done with Python.
On 24 mai, 19:33, Szabolcs Nagy [EMAIL PROTECTED] wrote:
Is there a way I could code the base (core) code in Python and have
PHP call it? I've really liked using SQLAlchemy and there are other
* quick and dirty solution:
in a shell:
$ python yourscript.py pipe_in pipe_out
in the php
On May 25, 5:24 am, aspineux [EMAIL PROTECTED] wrote:
On 24 mai, 19:33, Szabolcs Nagy [EMAIL PROTECTED] wrote:
Is there a way I could code the base (core) code in Python and have
PHP call it? I've really liked using SQLAlchemy and there are other
* quick and dirty solution
In article [EMAIL PROTECTED], I reported:
.
.
.
I appreciate your clarification. I can report back that we
certainly move in different circles; I, for example, knew of
people with multi-million-dollar budgets deciding on
walterbyrd a écrit :
Fredrik Lundh wrote:
modularity, modularity, and modularity.
Can't PHP be made to be just as modular?
PHP has no notion of modules.
As a matter of popular practise, I suppose that is not done. I would
think that it could be.
Certainly not the way Python is
question. Most of us can
act like adults here (although we all forget that from time to time.)
Python is much better suited to writing and mainting large web
applications though. Being both an experienced php and python
programmer, I can tell you I don't use php any more unless I have no
other
[EMAIL PROTECTED] wrote:
Python is much better suited to writing and mainting large web
applications though.
I have to ask: why is that? Because Python is more readable? Because
Python runs faster? Is Python more stable for large scale applications?
Does this apply when using Python with
walterbyrd wrote:
Python is much better suited to writing and mainting large web
applications though.
I have to ask: why is that?
modularity, modularity, and modularity.
/F
--
http://mail.python.org/mailman/listinfo/python-list
Fredrik Lundh wrote:
modularity, modularity, and modularity.
Can't PHP be made to be just as modular?
As a matter of popular practise, I suppose that is not done. I would
think that it could be.
My big problem with PHP is the lack of backward compatibility. My big
problem with Python is
Luis M. González skrev:
OK. But since when has python been considered a viable alternative for
web development?
[...]
The problem is (or was) for mere mortals trying to create a web site on
shared hostings.
Yes, that was the barrier to entry observation, but you have to
implicitly
I think I have read somewhere that using Python to develop
web-applications requires some restarting of the Apache server, whereas
PHP does not.
Also, I seem to remember reading something about PHP being able to
recover from Apache restarting more easily than Python.
I am not trying to suggest
In [EMAIL PROTECTED], walterbyrd
wrote:
I am not trying to suggest anything here. I'm just asking.
Asking what? Asking something usually involves a question. ;-)
Ciao,
Marc 'BlackJack' Rintsch
--
http://mail.python.org/mailman/listinfo/python-list
walterbyrd wrote:
I think I have read somewhere that using Python to develop
web-applications requires some restarting of the Apache server, whereas
PHP does not.
first thing... there are many many ways how to run a python-apache web
application..
- mod_python
- cgi
- fastcgi
- sci
- proxy
walterbyrd wrote:
I think I have read somewhere that using Python to develop
web-applications requires some restarting of the Apache server, whereas
PHP does not.
Using Python to develop web-applications is a very broad topic.
E.g. you don't have to restart Apache if you develop simple
Luis M. González wrote:
[EMAIL PROTECTED] ha escrito:
Luis M. González wrote:
OK. But since when has python been considered a viable alternative for
web development?
As a generalp purpose language, it's older.
But as a web development language, it's olnly when people started to
forget that from time to time.)
Python is much better suited to writing and mainting large web
applications though. Being both an experienced php and python
programmer, I can tell you I don't use php any more unless I have no
other choice.
-Sandra
--
http://mail.python.org/mailman/listinfo/python
bruce wrote:
ummm bruno...
you don't 'need' apache to run php.
in fact, although i'm from the old hard c/c++ world way before web apps,
i haven't really found much for most general apps (not ui/not threaded
stuff) that php can't do..
You simply haven't been looking hard enough.
James Cunningham wrote:
On 2006-11-15 20:59:26 -0500, walterbyrd [EMAIL PROTECTED] said:
Bruno Desthuilliers wrote:
walterbyrd a écrit :
You mean there are web hosting companies that are still using Apache
1.3.x ?
Practically all web-hosters still use Apache 1.3.x. Certainly all of
the
On 2006-11-16 05:46:45 -0500, Steve Holden [EMAIL PROTECTED] said:
James Cunningham wrote:
On 2006-11-15 20:59:26 -0500, walterbyrd [EMAIL PROTECTED] said:
Bruno Desthuilliers wrote:
walterbyrd a écrit :
You mean there are web hosting companies that are still using Apache
1.3.x ?
Cameron Laird ha escrito:
In article [EMAIL PROTECTED],
Luis M. González [EMAIL PROTECTED] wrote:
.
.
.
Then look no further. Learn python and go kick php developers asses in
the market place.
There are thousands of php
Luis M. González wrote:
But as a web development language, it's olnly when people started to
look for the rails killer and many python alternatives started to
come up (although Django has been in development for a long time before
all this hype).
nah, people have built web stuff on Python
Luis M. González wrote:
OK. But since when has python been considered a viable alternative for
web development?
Since the Bobo era (ca. 1997), but quite possibly before. Sure, you had
to build your own mega-framework back then, but that's what a lot of
people were doing anyway.
As a generalp
James Cunningham wrote:
On 2006-11-16 05:46:45 -0500, Steve Holden [EMAIL PROTECTED] said:
James Cunningham wrote:
On 2006-11-15 20:59:26 -0500, walterbyrd [EMAIL PROTECTED] said:
Bruno Desthuilliers wrote:
walterbyrd a écrit :
You mean there are web hosting companies that are still using
On 2006-11-16 09:08:43 -0500, Steve Holden [EMAIL PROTECTED] said:
James Cunningham wrote:
On 2006-11-16 05:46:45 -0500, Steve Holden [EMAIL PROTECTED] said:
James Cunningham wrote:
On 2006-11-15 20:59:26 -0500, walterbyrd [EMAIL PROTECTED] said:
Bruno Desthuilliers wrote:
walterbyrd a
In article [EMAIL PROTECTED],
Luis M. González [EMAIL PROTECTED] wrote:
.
.
.
Perhaps it's timely to clarify the newer above: Guido
made Python public in '89-90, and Rasmus showed PHP to
others in '94-95.
OK. But since when has
(replying to bruce - the post doesn't show up here)
bruce wrote:
ummm bruno...
you don't 'need' apache to run php.
Yes, true, you can also install the cli version. Which has lots of
restrictions BTW.
in fact, although i'm from the old hard c/c++ world way before web
apps,
Web apps are
Fredrik Lundh ha escrito:
Luis M. González wrote:
But as a web development language, it's olnly when people started to
look for the rails killer and many python alternatives started to
come up (although Django has been in development for a long time before
all this hype).
nah, people
Luis M. González [EMAIL PROTECTED] wrote:
Fredrik Lundh ha escrito:
Luis M. González wrote:
But as a web development language, it's olnly when people started
to look for the rails killer and many python alternatives started
to come up (although Django has been in development for a
James Cunningham wrote:
Nope. It disproves your assertion that certainly all of the lower
priced hosters use Apache 1.3.
Okay, where can I get Python and Apache 2.X for $10 a year?
--
http://mail.python.org/mailman/listinfo/python-list
Walterbyrd wrote:
Okay, where can I get Python and Apache 2.X for $10 a year?
Webfaction.com
This email is intended only for the individual or entity to which it is
addressed. This email may contain information that is privileged, confidential
or otherwise protected from disclosure.
Demel, Jeff wrote:
Walterbyrd wrote:
Okay, where can I get Python and Apache 2.X for $10 a year?
Webfaction.com
Um, I think you're off by an order of magnitude. Walterbyrd
asked about $10/*year* and webfaction.com charges $7.50/*month*.
Well, I suppose if one only needed one and a
On 2006-11-16 12:46:05 -0500, walterbyrd [EMAIL PROTECTED] said:
James Cunningham wrote:
Nope. It disproves your assertion that certainly all of the lower
priced hosters use Apache 1.3.
Okay, where can I get Python and Apache 2.X for $10 a year?
Frankly, I can't find *anybody* who
Tim Chase wrote:
I can't say I've come across any hosting places that serve up PHP
for $10/yr either...the closest I've found is about $3.50/mo
(which also provides Python CGI).
https://www.nearlyfreespeech.net/about/faq.php#Average
/F
--
James Cunningham [EMAIL PROTECTED] wrote:
On 2006-11-16 12:46:05 -0500, walterbyrd [EMAIL PROTECTED] said:
James Cunningham wrote:
Nope. It disproves your assertion that certainly all of the lower
priced hosters use Apache 1.3.
Okay, where can I get Python and Apache 2.X for $10 a
Tim Chase [EMAIL PROTECTED] wrote:
Demel, Jeff wrote:
Walterbyrd wrote:
Okay, where can I get Python and Apache 2.X for $10 a year?
Webfaction.com
Um, I think you're off by an order of magnitude. Walterbyrd
asked about $10/*year* and webfaction.com charges $7.50/*month*.
Well, I
Walterbyrd wrote:
Okay, where can I get Python and Apache 2.X for $10 a year?
I replied:
Webfaction.com
Tkc then came back with:
Um, I think you're off by an order of magnitude. Walterbyrd asked
about $10/*year* and webfaction.com charges $7.50/*month*.
Well, I suppose if one only needed
Demel, Jeff [EMAIL PROTECTED] wrote:
What kind of hosting does one get for $10 a *year*? And I'm not just
talking Python here, but any hosting at all.
I pay $12/year (see other posts, I am not going to name them again) for
hosting a phpBB board and wiki, with 100+ members and currently close
John Bokma wrote:
Luis M. González [EMAIL PROTECTED] wrote:
I know, but would you consider a python cgi application a good
competence against php?
php running as cgi you mean.
Perhaps not: he's referring to deployment on really cheap hosting
solutions which might support mod_php but
Luis M. González wrote:
Cameron Laird ha escrito:
Perhaps it's timely to clarify the newer above: Guido
made Python public in '89-90, and Rasmus showed PHP to
others in '94-95.
OK. But since when has python been considered a viable alternative for
web development?
As a generalp purpose
Tim Chase wrote:
I can't say I've come across any hosting places that serve up PHP
for $10/yr either...the closest I've found is about $3.50/mo
(which also provides Python CGI).
dollar-hosting.net offers php5 and python 2.3, for $10 a year.
the-protagonist.net has PHP 4.4 hosting for $10 a
[EMAIL PROTECTED] ha escrito:
Luis M. González wrote:
Cameron Laird ha escrito:
Perhaps it's timely to clarify the newer above: Guido
made Python public in '89-90, and Rasmus showed PHP to
others in '94-95.
OK. But since when has python been considered a viable alternative for
[EMAIL PROTECTED] wrote:
Huh? I've been doing paid python web work since 2000. I'm fairly sure
that Yahoo! groups predates that by a while
http://en.wikipedia.org/wiki/EGroups
/F
--
http://mail.python.org/mailman/listinfo/python-list
Luis M. González wrote:
the new crop of web frameworks (Django, Turbo Gears, etc...).
- Newer versions of mod_python require Apache 2.0, which few hosters
have
You can also get alder versions of mod_python. What's the problem?
The problem is that the system requirements for django and
-Original Message-
Behalf Of walterbyrd
The problem is that the system requirements for django and turbogears
are sky-high. I think Django requires Apache 2.0 (and maybe mod_python
3.x), and CherryPy (part of turbogears) requires Python 2.4. If you are
developing for a hosted environment,
Larry Bates wrote:
I'd be surprised if there was more demand for PHP developers
than Python developers.
Prepare to be surprised. From what I have seen demand for PHP
developers is off-the-scale higher than demand for Python developers.
If you search the job boards, then -IMO- it is only fair
Bjoern Schliessmann wrote:
walterbyrd wrote:
- PHP has a lower barrier to entry
Which kind of barrier do you mean -- syntax, availability, ...?
Putting php into a web-site is as easy as throwing some php code into a
my html file, and maybe giving the file a php extension. I can get php
walterbyrd wrote:
The problem is that the system requirements for django and turbogears
are sky-high. I think Django requires Apache 2.0 (and maybe mod_python
3.x), and CherryPy (part of turbogears) requires Python 2.4. If you are
developing for a hosted environment, this can be a big
Michael Torrie wrote:
Absolutely false. Most of my standalone, command-line scripts for
manipulating my unix users in LDAP are written in PHP, although we're
rewriting them in python.
I would say that you are one of very few who use PHP for sys-admin
tasks - and even you have switched to
walterbyrd wrote:
I don't know if this is a fair comparison or not.
Who cares? Anything involving PHP is a billion flies can't be wrong
type of statement.
I agree completely with your observation about PHP's lower cost of
access. This is ostensibly a good thing, but it also means that every
On 2006-11-15 10:47:07 -0500, Demel, Jeff
[EMAIL PROTECTED] said:
[...]
That's true, but I was lucky enough to find webfaction.com for python
hosting, including Django. Good prices and they know Python. I think
they used to be python-hosting.com or something.
-Jeff
Dirt-cheap
to cherrypy.
Anyway, even though not all web hosters have a reasonable
python web framework installed, they will almost certainly
allow you to run python programs. The PHP might eventually
boil down to simple function calls that get content from
the back end. Let python do all the work:
?php
walterbyrd ha escrito:
Luis M. González wrote:
the new crop of web frameworks (Django, Turbo Gears, etc...).
- Newer versions of mod_python require Apache 2.0, which few hosters
have
You can also get alder versions of mod_python. What's the problem?
The problem is that the
walterbyrd a écrit :
Bjoern Schliessmann wrote:
walterbyrd wrote:
- PHP has a lower barrier to entry
Which kind of barrier do you mean -- syntax, availability, ...?
Putting php into a web-site is as easy as throwing some php code into a
my html file, and maybe giving the file a php
walterbyrd a écrit :
Larry Bates wrote:
I'd be surprised if there was more demand for PHP developers
than Python developers.
Prepare to be surprised. From what I have seen demand for PHP
developers is off-the-scale higher than demand for Python developers.
Anyone that knows how
Michael Torrie a écrit :
On Tue, 2006-11-14 at 18:55 -0800, Luis M. González wrote:
- Python is more readable, and more general purpose
Yes, php is only for web.
Absolutely false.
From a purely technical POV, you're of course right. But PHP has been
hacked (nobody in it's own mind
walterbyrd a écrit :
Michael Torrie wrote:
Absolutely false. Most of my standalone, command-line scripts for
manipulating my unix users in LDAP are written in PHP, although we're
rewriting them in python.
I would say that you are one of very few who use PHP for sys-admin
tasks - and
walterbyrd a écrit :
Luis M. González wrote:
the new crop of web frameworks (Django, Turbo Gears, etc...).
- Newer versions of mod_python require Apache 2.0, which few hosters
have
You can also get alder versions of mod_python. What's the problem?
The problem is that the system
walterbyrd wrote:
Trying to be as fair as I can be, my research shows that demand for
developers where PHP is the primary is *far* higher than jobs where
Python is the primary skills.
Probably because PHP is so bug-prone and man-inefficient that a small
website occupies a programmer's whole
At Wednesday 15/11/2006 21:28, Bruno Desthuilliers wrote:
Michael Torrie a écrit :
On Tue, 2006-11-14 at 18:55 -0800, Luis M. González wrote:
- Python is more readable, and more general purpose
Yes, php is only for web.
Absolutely false.
From a purely technical POV, you're of
PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf
Of Bruno Desthuilliers
Sent: Wednesday, November 15, 2006 4:35 PM
To: python-list@python.org
Subject: Re: Python v PHP: fair comparison?
walterbyrd a écrit :
Michael Torrie wrote:
Absolutely false. Most of my standalone, command-line scripts
At Wednesday 15/11/2006 22:11, bruce wrote:
interesting ongoing thread...
i've seen a number of these over the years.. my language is better than your
language!!
i'm sure this question on the php list would have findings/results that are
essentially opposite of what is being discussed here!
Bruno Desthuilliers wrote:
walterbyrd a écrit :
You mean there are web hosting companies that are still using Apache
1.3.x ?
Practically all web-hosters still use Apache 1.3.x. Certainly all of
the lower priced hosters.
C'mon, let's be serious. I just ordered a dedibox - a small dedicated
Gabriel Genellina wrote:
- php sucks :)
I think that it's such a braindead
language which turns people into braindead programmers :)
In fairness, a lot of very serious work is done in PHP. I think yahoo
and other major web-sites use php.
I have issues with PHP as well. They will break
In article [EMAIL PROTECTED],
Luis M. González [EMAIL PROTECTED] wrote:
.
.
.
Then look no further. Learn python and go kick php developers asses in
the market place.
There are thousands of php developers out there. Do you
:[EMAIL PROTECTED] Behalf
Of Bruno Desthuilliers
Sent: Wednesday, November 15, 2006 3:46 PM
To: python-list@python.org
Subject: Re: Python v PHP: fair comparison?
walterbyrd a écrit :
Bjoern Schliessmann wrote:
walterbyrd wrote:
- PHP has a lower barrier to entry
Which kind of barrier do you mean
On 2006-11-15 20:59:26 -0500, walterbyrd [EMAIL PROTECTED] said:
Bruno Desthuilliers wrote:
walterbyrd a écrit :
You mean there are web hosting companies that are still using Apache
1.3.x ?
Practically all web-hosters still use Apache 1.3.x. Certainly all of
the lower priced
I don't know if this is a fair comparison or not. Any comments
appreciated.
- Python is more readable, and more general purpose
- PHP has awful backward compatibility
- PHP has a lower barrier to entry
- Most inexpensive web-hosters support PHP, but not Python
- PHP has far more pre-writen
walterbyrd wrote:
- PHP has a lower barrier to entry
Which kind of barrier do you mean -- syntax, availability, ...?
Also from what I know of PHP, language and API seem more unstable
and inhomogenous. CMIIW.
Regards,
Björn
--
BOFH excuse #219:
Recursivity. Call back if it happens again.
walterbyrd wrote:
I don't know if this is a fair comparison or not. Any comments
appreciated.
- Python is more readable, and more general purpose
- PHP has awful backward compatibility
- PHP has a lower barrier to entry
- Most inexpensive web-hosters support PHP, but not Python
- PHP has
I'd be surprised if there was more demand for PHP developers
than Python developers. Google lists 51 PHP jobs and 168
Python jobs in their internal jobs database (I just did a
quick search).
Yes, but Google is the company that hired Guido, and that does most of
it's dev in python.
Looking
will tell me that it can be used
that way ;-).Yes,itcan. I'd be surprised if there was more demand for PHP developers than Python developers.Google lists 51 PHP jobs and 168 Python jobs in their internal jobs database (I just did a
quick search). Yes, but Google is the company that hired Guido
has a lower barrier to entry
I don't think it is any easier than python. Not even to begin with.
- Most inexpensive web-hosters support PHP, but not Python
Sad but true.
- PHP has far more pre-writen scripts available
For web projects, perhaps.
But I'm sure you can do everything better
anything you may want to do.
- PHP has awful backward compatibility
Yes. And it's also an ugly language to work with.
- PHP has a lower barrier to entry
I don't think it is any easier than python. Not even to begin with.
- Most inexpensive web-hosters support PHP, but not Python
Yes, php is only for web.
Absolutely false. Most of my standalone, command-line scripts for
manipulating my unix users in LDAP are written in PHP, although we're
rewriting them in python.
Although I can't think of a single app written in php that's not web-
based (other than standalone
Olexandr Melnyk wrote:
PHP has a lower barrier to entry
I don't think so. Python has more intuitive syntax for beginners and is one of
the best choices for the first programming language to pick up.
I second this - before discovering Python (in a GSM module's guts) - I was being
steered in
On Sat, 24 Jun 2006 01:28:29 GMT, [EMAIL PROTECTED] (John J. Lee)
wrote:
[EMAIL PROTECTED] writes:
On 22 Jun 2006 16:19:50 -0700, Justin Azoff
[EMAIL PROTECTED] wrote:
Jeethu Rao wrote:
You need to use httplib.
http://docs.python.org/lib/httplib-examples.html
Jeethu Rao
Not at
[EMAIL PROTECTED] (John J. Lee) writes:
[...]
#---
import mechanize
SHOW_COOKIES = True
br = mechanize.Browser()
if SHOW_COOKIES:
cj = mechanize.CookieJar()
br.set_cookiejar(cj)
br.open(http://www.magnetshare.com/main.php;)
br.select_form(nr=0)
[EMAIL PROTECTED] writes:
On 22 Jun 2006 16:19:50 -0700, Justin Azoff
[EMAIL PROTECTED] wrote:
Jeethu Rao wrote:
You need to use httplib.
http://docs.python.org/lib/httplib-examples.html
Jeethu Rao
Not at all. They need to read the documentation for urrlib:
1 - 100 of 199 matches
Mail list logo