Re: Php vs Python gui (tkinter...) for small remote database app

2021-06-15 Thread Menno Holscher
Op 15-06-2021 om 19:14 schreef Grant Edwards: On 2021-06-15, Menno Holscher wrote: There is no difference regarding security concerns. I find that hard to believe given the long list of CVEs I've just had to sort through for even fairly recent versions of PHP. I just can't belive that

Re: Php vs Python gui (tkinter...) for small remote database app

2021-06-15 Thread Grant Edwards
On 2021-06-15, Menno Holscher wrote: > There is no difference regarding security concerns. I find that hard to believe given the long list of CVEs I've just had to sort through for even fairly recent versions of PHP. I just can't belive that Python has anywhere close to that many secruity

Re: Php vs Python gui (tkinter...) for small remote database app

2021-06-15 Thread Menno Holscher
Op 14-06-2021 om 21:17 schreef Pascal B via Python-list: Hi, I would like to know if for a small app for instance that requires a connection to a remote server database if php is more suitable than Python mainly regarding security. Php requires one port for http and one port for the connection

Re: Php vs Python gui (tkinter...) for small remote database app

2021-06-15 Thread Tomasz Rola
On Tue, Jun 15, 2021 at 08:39:51AM +1200, dn via Python-list wrote: > On 15/06/2021 07.17, Pascal B via Python-list wrote: > > Hi, > > I would like to know if for a small app for instance that requires a > > connection to a remote server database if php is more suitable than Python > > mainly

Re: Php vs Python gui (tkinter...) for small remote database app

2021-06-14 Thread dn via Python-list
On 15/06/2021 07.17, Pascal B via Python-list wrote: > Hi, > I would like to know if for a small app for instance that requires a > connection to a remote server database if php is more suitable than Python > mainly regarding security. > Php requires one port for http and one port for the

Php vs Python gui (tkinter...) for small remote database app

2021-06-14 Thread Pascal B via Python-list
Hi, I would like to know if for a small app for instance that requires a connection to a remote server database if php is more suitable than Python mainly regarding security. Php requires one port for http and one port for the connection to the database open. If using Python with a tkinter gui,

Re: PHP vs. Python

2012-09-25 Thread andrea crotti
gudance. http://hentenaar.com/serendipity/index.php?/archives/27-Benchmark-PHP-vs.-Python-vs.-Perl-vs.-Ruby.html -- http://mail.python.org/mailman/listinfo/python-list Quite ancient versions of everything, would be interesting to see if things are different now.. Anyway you can switch to Python

Re: PHP vs. Python

2012-09-25 Thread Tejas
How to configure python in apache2 ? So my html embedded code will works. -- http://mail.python.org/mailman/listinfo/python-list

Re: PHP vs. Python

2012-09-25 Thread Mark Lawrence
On 25/09/2012 11:22, Tejas wrote: How to configure python in apache2 ? So my html embedded code will works. Please follow the instructions that you'll find by searching the web. -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: PHP vs. Python

2012-09-24 Thread tejas . tank . mca
/serendipity/index.php?/archives/27-Benchmark-PHP-vs.-Python-vs.-Perl-vs.-Ruby.html -- http://mail.python.org/mailman/listinfo/python-list

Re: php vs python

2008-06-04 Thread Joel Koltner
Marc 'BlackJack' Rintsch [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I think you are talking about something a little different than Arnaud. Ah, OK. Other old habits from people coming to Python are: using indexes where they are not needed, trivial getters and setters, putting

Re: php vs python

2008-06-02 Thread Arnaud Delobelle
Joel Koltner [EMAIL PROTECTED] writes: There's potentially a large difference between a good speaker of English/German/etc. vs. eloquent. I'd tend to agree with Jerry that if you can write good code in one language, you can in pretty much any other as well... but that doesn't imply you're

Re: php vs python

2008-06-02 Thread Duncan Booth
Arnaud Delobelle [EMAIL PROTECTED] wrote: I find that eloquent Python speakers often tend to write a for loop when mere good ones will try to stick a list comprehension in! +1 QOTW -- Duncan Booth http://kupuguy.blogspot.com -- http://mail.python.org/mailman/listinfo/python-list

Re: php vs python

2008-06-02 Thread Lou Pecora
In article [EMAIL PROTECTED], Ethan Furman [EMAIL PROTECTED] wrote: Jerry Stuckle wrote: As I've said before - good programmers can write good code in any language. So... an eloquent speaker of English is also an eloquent speaker of Spanish/French/German? Oh, Bull. Computer

Re: php vs python

2008-06-02 Thread Patrick Mullen
Yeah I would agree that a decent (a few steps below good in my book) programmer should be able to have a decent handle on a new language, given some acclimatization time of course. The amount of time this period lasts varies on the language said programmer is learning, as well as the languages he

Re: php vs python

2008-06-02 Thread Joel Koltner
Arnaud Delobelle [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] This is wrong, because if you know well one language only, you tend to think that the principles that underpin it are universal. So you will try to shoehorn these principles into any other language you use. Fair

Re: php vs python

2008-06-02 Thread Marc 'BlackJack' Rintsch
On Mon, 02 Jun 2008 18:21:26 -0700, Joel Koltner wrote: Arnaud Delobelle [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] This is wrong, because if you know well one language only, you tend to think that the principles that underpin it are universal. So you will try to shoehorn

Re: php vs python

2008-06-01 Thread Joel Koltner
Ethan Furman [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Jerry Stuckle wrote: As I've said before - good programmers can write good code in any language. So... an eloquent speaker of English is also an eloquent speaker of Spanish/French/German? There's potentially a large

Re: php vs python

2008-05-30 Thread Ethan Furman
Jerry Stuckle wrote: As I've said before - good programmers can write good code in any language. So... an eloquent speaker of English is also an eloquent speaker of Spanish/French/German? I think your statement would be correct if worded: some programmers can write good code in any

Re: php vs python

2008-05-29 Thread Diez B. Roggisch
A good OO programmer could easily write good functional code. You are aware that functional programming is *not* procedural or imperative programming? http://en.wikipedia.org/wiki/Functional_programming OO is *heavily* depending on state and state modification. I've seen OO programmers weep

[OT] Re: FW: php vs python

2008-05-29 Thread J. Cliff Dyer
On Thu, 2008-05-29 at 08:47 +1200, Phil Runciman wrote: The Inuit have 13 terms for snow. Microsoft advocate DSLs. Why have DSLs if language does not matter? For that matter, the English have several terms for snow as well. snow flurry blizzard powder pack flakes crystals sleet slush And

Re: php vs python

2008-05-28 Thread Tim Roberts
Ivan Illarionov [EMAIL PROTECTED] wrote: On Wed, 28 May 2008 05:10:20 +0400, AnrDaemon wrote: In reply to Your message dated Monday, May 26, 2008, 04:47:00, As I've said before - good programmers can write good code in any language. Yes, they can. But it may be harder to do for them in one

Re: php vs python

2008-05-28 Thread Michael Fesser
.oO(Ivan Illarionov) No. Language does matter. And the weather. If you know how to program, you can write good code in any language if you're familiar enough with it. Many people write good code in PHP, and many write total crap in C/C++. It's almost never about the language, but about the

Re: php vs python

2008-05-28 Thread cokofreedom
On May 28, 1:42 pm, Michael Fesser [EMAIL PROTECTED] wrote: .oO(Ivan Illarionov) No. Language does matter. And the weather. If you know how to program, you can write good code in any language if you're familiar enough with it. Many people write good code in PHP, and many write total crap

Re: php vs python

2008-05-28 Thread Ivan Illarionov
On Wed, 28 May 2008 06:04:54 +, Tim Roberts wrote: Ivan Illarionov [EMAIL PROTECTED] wrote: On Wed, 28 May 2008 05:10:20 +0400, AnrDaemon wrote: In reply to Your message dated Monday, May 26, 2008, 04:47:00, As I've said before - good programmers can write good code in any language.

Re: php vs python

2008-05-28 Thread Jerry Stuckle
[EMAIL PROTECTED] wrote: On May 28, 1:42 pm, Michael Fesser [EMAIL PROTECTED] wrote: .oO(Ivan Illarionov) No. Language does matter. And the weather. If you know how to program, you can write good code in any language if you're familiar enough with it. Many people write good code in PHP, and

Re: php vs python

2008-05-28 Thread Paul Rubin
Jerry Stuckle [EMAIL PROTECTED] writes: A good OO programmer could easily write good functional code. Over on #haskell there's a general belief that learning Haskell is easier for nonprogrammers than it is for OO programmers, since the OO programmers first have to unlearn what they previously

FW: php vs python

2008-05-28 Thread Phil Runciman
-Original Message- From: Jerry Stuckle [mailto:[EMAIL PROTECTED] Sent: Wednesday, 28 May 2008 1:48 p.m. To: python-list@python.org Subject: Re: php vs python Ivan Illarionov wrote: On Wed, 28 May 2008 05:10:20 +0400, AnrDaemon wrote: Greetings, Ivan Illarionov. In reply to Your

Re: php vs python

2008-05-28 Thread Eric Wertman
Flaming Thunder is teh awesome! :P -- http://mail.python.org/mailman/listinfo/python-list

Re: FW: php vs python

2008-05-28 Thread blaine
On May 28, 4:47 pm, Phil Runciman [EMAIL PROTECTED] wrote: -Original Message- From: Jerry Stuckle [mailto:[EMAIL PROTECTED] Sent: Wednesday, 28 May 2008 1:48 p.m. To: [EMAIL PROTECTED] Subject: Re: php vs python Ivan Illarionov wrote: On Wed, 28 May 2008 05:10:20 +0400, AnrDaemon

Re: FW: php vs python

2008-05-28 Thread Carl Banks
On May 28, 7:45 pm, blaine [EMAIL PROTECTED] wrote: On May 28, 4:47 pm, Phil Runciman [EMAIL PROTECTED] wrote: -Original Message- From: Jerry Stuckle [mailto:[EMAIL PROTECTED] Sent: Wednesday, 28 May 2008 1:48 p.m. To: [EMAIL PROTECTED] Subject: Re: php vs python Ivan

Re: php vs python

2008-05-27 Thread AnrDaemon
Greetings, Ivan Illarionov. In reply to Your message dated Monday, May 26, 2008, 04:47:00, As I've said before - good programmers can write good code in any language. Yes, they can. But it may be harder to do for them in one language and easier in another. It's obvious lie. If you have

Re: php vs python

2008-05-27 Thread Ivan Illarionov
On Wed, 28 May 2008 05:10:20 +0400, AnrDaemon wrote: Greetings, Ivan Illarionov. In reply to Your message dated Monday, May 26, 2008, 04:47:00, As I've said before - good programmers can write good code in any language. Yes, they can. But it may be harder to do for them in one language

Re: php vs python

2008-05-27 Thread Ivan Illarionov
On Wed, 28 May 2008 01:32:24 +, Ivan Illarionov wrote: On Wed, 28 May 2008 05:10:20 +0400, AnrDaemon wrote: Greetings, Ivan Illarionov. In reply to Your message dated Monday, May 26, 2008, 04:47:00, As I've said before - good programmers can write good code in any language. Yes,

Re: php vs python

2008-05-27 Thread Jerry Stuckle
Ivan Illarionov wrote: On Wed, 28 May 2008 05:10:20 +0400, AnrDaemon wrote: Greetings, Ivan Illarionov. In reply to Your message dated Monday, May 26, 2008, 04:47:00, As I've said before - good programmers can write good code in any language. Yes, they can. But it may be harder to do for

Re: php vs python

2008-05-27 Thread Ivan Illarionov
On Tue, 27 May 2008 21:47:55 -0400, Jerry Stuckle wrote: Ivan Illarionov wrote: On Wed, 28 May 2008 05:10:20 +0400, AnrDaemon wrote: Greetings, Ivan Illarionov. In reply to Your message dated Monday, May 26, 2008, 04:47:00, As I've said before - good programmers can write good code in any

Re: php vs python

2008-05-27 Thread Jerry Stuckle
Ivan Illarionov wrote: On Tue, 27 May 2008 21:47:55 -0400, Jerry Stuckle wrote: Ivan Illarionov wrote: On Wed, 28 May 2008 05:10:20 +0400, AnrDaemon wrote: Greetings, Ivan Illarionov. In reply to Your message dated Monday, May 26, 2008, 04:47:00, As I've said before - good programmers can

Re: php vs python

2008-05-27 Thread Ivan Illarionov
On Tue, 27 May 2008 22:27:40 -0400, Jerry Stuckle wrote: Ivan Illarionov wrote: On Tue, 27 May 2008 21:47:55 -0400, Jerry Stuckle wrote: Ivan Illarionov wrote: On Wed, 28 May 2008 05:10:20 +0400, AnrDaemon wrote: Greetings, Ivan Illarionov. In reply to Your message dated Monday, May 26,

Re: php vs python

2008-05-27 Thread Jerry Stuckle
Ivan Illarionov wrote: On Tue, 27 May 2008 22:27:40 -0400, Jerry Stuckle wrote: Ivan Illarionov wrote: On Tue, 27 May 2008 21:47:55 -0400, Jerry Stuckle wrote: Ivan Illarionov wrote: On Wed, 28 May 2008 05:10:20 +0400, AnrDaemon wrote: Greetings, Ivan Illarionov. In reply to Your message

Re: php vs python

2008-05-25 Thread Lie
On May 22, 12:28 pm, NC [EMAIL PROTECTED] wrote: On May 21, 1:10 pm, notbob [EMAIL PROTECTED] wrote: So, here's my delimna: I want to start a blog.  Yeah, who doesn't. Yet, I want learn the guts of it instead of just booting up some wordwank or whatever. Here's a simple computation to

Re: php vs python

2008-05-25 Thread Lie
On May 23, 5:14 am, inhahe [EMAIL PROTECTED] wrote: I don't like php.  I tried it once and I had it sort a list, but the list was apparently too long for its sorting function because it just sorted the first so-many elements of it and left the rest in order, and didn't generate any error.  I

Re: php vs python

2008-05-25 Thread Lie
On May 22, 3:10 am, notbob [EMAIL PROTECTED] wrote: I'm not posting this just to initiate some religious flame war, though it's the perfect subject to do so.  No, I actaully want some serious advice about these two languages and since I think usenet is the best arena to find it, here ya' go.

Re: php vs python

2008-05-25 Thread Jerry Stuckle
Lie wrote: On May 22, 12:28 pm, NC [EMAIL PROTECTED] wrote: On May 21, 1:10 pm, notbob [EMAIL PROTECTED] wrote: So, here's my delimna: I want to start a blog. Yeah, who doesn't. Yet, I want learn the guts of it instead of just booting up some wordwank or whatever. Here's a simple

Re: php vs python

2008-05-25 Thread Ivan Illarionov
Jerry Stuckle wrote: Lie wrote: On May 22, 12:28 pm, NC [EMAIL PROTECTED] wrote: On May 21, 1:10 pm, notbob [EMAIL PROTECTED] wrote: So, here's my delimna: I want to start a blog.  Yeah, who doesn't. Yet, I want learn the guts of it instead of just booting up some wordwank or whatever.

Re: php vs python

2008-05-25 Thread Jerry Stuckle
Ivan Illarionov wrote: Jerry Stuckle wrote: Lie wrote: On May 22, 12:28 pm, NC [EMAIL PROTECTED] wrote: On May 21, 1:10 pm, notbob [EMAIL PROTECTED] wrote: So, here's my delimna: I want to start a blog. Yeah, who doesn't. Yet, I want learn the guts of it instead of just booting up some

Re: php vs python

2008-05-25 Thread NC
On May 25, 11:46 am, Ivan Illarionov [EMAIL PROTECTED] wrote: If the OP wants to learn the guts of the blog or to implement the blog from scratch, Python/Django would be a better choice than PHP. The reason is that he can reuse and customize existing high quality components for all these

Re: php vs python

2008-05-25 Thread Ivan Illarionov
On Sun, 25 May 2008 13:28:25 -0700, NC wrote: [...] A quick look at the revision log: http://byteflow.su/log/ reveals that the initial commit of 60 or so files has been done on 08/14/07 (10 months ago), a second developer came on board 12/01/07 (seven+ months ago), a third one, on

Re: php vs python

2008-05-25 Thread Jerry Stuckle
Ivan Illarionov wrote: On Sun, 25 May 2008 13:28:25 -0700, NC wrote: [...] A quick look at the revision log: http://byteflow.su/log/ reveals that the initial commit of 60 or so files has been done on 08/14/07 (10 months ago), a second developer came on board 12/01/07 (seven+ months ago), a

Re: php vs python

2008-05-25 Thread Ivan Illarionov
On Sun, 25 May 2008 17:09:43 -0400, Jerry Stuckle wrote: Not at all. I do it every day. And BTW - yes, I write Python, also. But I find I can write better, faster code in PHP. I find I can write better code in Python. Maybe it's just a matter of personal preference? Do you write PHP? I

Re: php vs python

2008-05-25 Thread NC
On May 25, 1:55 pm, Ivan Illarionov [EMAIL PROTECTED] wrote: On Sun, 25 May 2008 13:28:25 -0700, NC wrote: A quick look at the revision log: http://byteflow.su/log/ reveals that the initial commit of 60 or so files has been done on 08/14/07 (10 months ago), a second developer came on

Re: php vs python

2008-05-25 Thread Ivan Illarionov
On Sun, 25 May 2008 16:23:12 -0700, NC wrote: I didn't say that it's not possible to write good code in PHP, Indeed you didn't. You did, however, say that development in Python/ Django is inherently faster than development in PHP (your exact words were, 2 man/year in PHP == 2 man/week in

Re: php vs python

2008-05-25 Thread Jerry Stuckle
Ivan Illarionov wrote: On Sun, 25 May 2008 17:09:43 -0400, Jerry Stuckle wrote: Not at all. I do it every day. And BTW - yes, I write Python, also. But I find I can write better, faster code in PHP. I find I can write better code in Python. Maybe it's just a matter of personal preference?

Re: php vs python

2008-05-25 Thread Jerry Stuckle
Ivan Illarionov wrote: On Sun, 25 May 2008 16:23:12 -0700, NC wrote: I didn't say that it's not possible to write good code in PHP, Indeed you didn't. You did, however, say that development in Python/ Django is inherently faster than development in PHP (your exact words were, 2 man/year in

Re: php vs python

2008-05-25 Thread Ivan Illarionov
Jerry Stuckle wrote: As I've said before - good programmers can write good code in any language. Yes, they can. But it may be harder to do for them in one language and easier in another. Ivan -- http://mail.python.org/mailman/listinfo/python-list

Re: php vs python

2008-05-25 Thread Jerry Stuckle
Ivan Illarionov wrote: Jerry Stuckle wrote: As I've said before - good programmers can write good code in any language. Yes, they can. But it may be harder to do for them in one language and easier in another. Ivan Not for a good programmer it isn't. I've known a few good programmers

Re: php vs python

2008-05-25 Thread Ivan Illarionov
On Sun, 25 May 2008 20:53:28 -0400, Jerry Stuckle wrote: Ivan Illarionov wrote: Jerry Stuckle wrote: As I've said before - good programmers can write good code in any language. Yes, they can. But it may be harder to do for them in one language and easier in another. Ivan Not for a

Re: php vs python

2008-05-25 Thread Jerry Stuckle
Ivan Illarionov wrote: On Sun, 25 May 2008 20:53:28 -0400, Jerry Stuckle wrote: Ivan Illarionov wrote: Jerry Stuckle wrote: As I've said before - good programmers can write good code in any language. Yes, they can. But it may be harder to do for them in one language and easier in another.

Re: php vs python

2008-05-25 Thread I V
On Sun, 25 May 2008 21:41:09 -0400, Jerry Stuckle wrote: The the good programmers are able to adapt to the language and make the most of whatever language they're using. The result is good code. OTOH, poor programmers I have known have found all kinds of excuses - from the language itself to

Re: php vs python

2008-05-25 Thread Guillaume Bog
On Mon, May 26, 2008 at 8:12 AM, Jerry Stuckle [EMAIL PROTECTED] wrote: Ivan Illarionov wrote: On Sun, 25 May 2008 17:09:43 -0400, Jerry Stuckle wrote: Not at all. I do it every day. And BTW - yes, I write Python, also. But I find I can write better, faster code in PHP. I find I can

Re: php vs python

2008-05-24 Thread Arnaud Delobelle
Michael Fesser [EMAIL PROTECTED] writes: you don't like PHP, that's perfectly OK. But you should accept that it's only a tool and just as good as the one who uses it. For me and many others it's a quite good language, we're able to write clean and efficient code with it in a rather short time.

Re: php vs python

2008-05-23 Thread Michael Fesser
.oO(Nick Craig-Wood) Damon Getsman [EMAIL PROTECTED] wrote: PHP has great support for accessing a MySQL database, Actually I'd say PHP's mysql support is lacking a very important feature. mysql_query() doesn't support parameters (or placeholders, usually '?') Where were you the last couple of

Re: php vs python

2008-05-23 Thread Andrew Lee
notbob wrote: I'm not posting this just to initiate some religious flame war, though it's the perfect subject to do so. No, I actaully want some serious advice about these two languages and since I think usenet is the best arena to find it, here ya' go. So, here's my delimna: I want to start a

Re: php vs python

2008-05-23 Thread Erwin Moller
Andrew Lee schreef: notbob wrote: I'm not posting this just to initiate some religious flame war, though it's the perfect subject to do so. No, I actaully want some serious advice about these two languages and since I think usenet is the best arena to find it, here ya' go. So, here's my

Re: php vs python

2008-05-23 Thread Jerry Stuckle
inhahe wrote: PHP can do that. There are also a number of templating engines available. The nice thing about PHP is you have a choice. i just meant that php is sort of invented to combine html and code, so if you use python instead you should use a templating engine. but i suppose it's

Re: php vs python

2008-05-23 Thread Jerry Stuckle
Andrew Lee wrote: notbob wrote: I'm not posting this just to initiate some religious flame war, though it's the perfect subject to do so. No, I actaully want some serious advice about these two languages and since I think usenet is the best arena to find it, here ya' go. So, here's my

Re: php vs python

2008-05-23 Thread Michael Fesser
.oO(Andrew Lee) Personally, I believe PHP would get you more productive more quickly for a blog, but it is a potentially brain damaging language in terms of really getting your juices flowing with programming. It is not a general purpose language Please elaborate. and suffers from all the

Re: php vs python

2008-05-23 Thread Duncan Booth
Erwin Moller [EMAIL PROTECTED] wrote: Why do you say it 'tastes less' then Python? I don't want to start a religious war, but am curious. Who knows, maybe I'll dump PHP and start using Python after your answer. ;-) I may not be a good person to answer this since I don't know PHP: I don't

Re: php vs python

2008-05-23 Thread Michael Fesser
.oO(Duncan Booth) On those rare occasions when I've helped someone who wanted advice I've found that my Python oriented viewpoint can be quite hard to translate to PHP. For example I'd suggest 'oh you just encode that as utf8' only to be told that there's no easy way to do that (have just

Re: php vs python

2008-05-23 Thread Duncan Booth
Michael Fesser [EMAIL PROTECTED] wrote: .oO(Duncan Booth) On those rare occasions when I've helped someone who wanted advice I've found that my Python oriented viewpoint can be quite hard to translate to PHP. For example I'd suggest 'oh you just encode that as utf8' only to be told that

Re: php vs python

2008-05-23 Thread Michael Fesser
.oO(Duncan Booth) Michael Fesser [EMAIL PROTECTED] wrote: The only little problem is that PHP doesn't have native Unicode support yet, which will change with PHP 6. But of course you can still use UTF-8 without any trouble, I do it all the time. You just have to keep in mind that many string

Re: php vs python

2008-05-22 Thread Nick Craig-Wood
Damon Getsman [EMAIL PROTECTED] wrote: PHP has great support for accessing a MySQL database, Actually I'd say PHP's mysql support is lacking a very important feature. mysql_query() doesn't support parameters (or placeholders, usually '?') which means that unless you use

Re: php vs python

2008-05-22 Thread notbob
On 2008-05-22, Larry Bates [EMAIL PROTECTED] wrote: Check out the Pylons blog tutorial. You will have a simple blog up and running in less than 30 minutes and have a platform to extend it with as much functionality as you want later on. Larry Bates Pylons blog tutorial:

Re: php vs python

2008-05-22 Thread notbob
On 2008-05-21, Paul Rubin http wrote: Knowing lots of languages is good for you. php is probably your quickest route to getting a rudimentary web app running. Python is a longer term project. Do both. Good advice. Thank you. nb -- http://mail.python.org/mailman/listinfo/python-list

Re: php vs python

2008-05-22 Thread Mike Driscoll
On May 21, 3:10 pm, notbob [EMAIL PROTECTED] wrote: I'm not posting this just to initiate some religious flame war, though it's the perfect subject to do so.  No, I actaully want some serious advice about these two languages and since I think usenet is the best arena to find it, here ya' go.

Re: php vs python

2008-05-22 Thread inhahe
I don't like php. I tried it once and I had it sort a list, but the list was apparently too long for its sorting function because it just sorted the first so-many elements of it and left the rest in order, and didn't generate any error. I like a language that's actually determined by what you

Re: php vs python

2008-05-22 Thread Jerry Stuckle
inhahe wrote: I don't like php. I tried it once and I had it sort a list, but the list was apparently too long for its sorting function because it just sorted the first so-many elements of it and left the rest in order, and didn't generate any error. I like a language that's actually

Re: php vs python

2008-05-22 Thread inhahe
PHP can do that. There are also a number of templating engines available. The nice thing about PHP is you have a choice. i just meant that php is sort of invented to combine html and code, so if you use python instead you should use a templating engine. but i suppose it's useful for php

Re: php vs python

2008-05-22 Thread Michael Mabin
I used python to generate php code. But that was before I knew what vast troves of python web frameworks there were. :) On Thu, May 22, 2008 at 11:40 PM, inhahe [EMAIL PROTECTED] wrote: PHP can do that. There are also a number of templating engines available. The nice thing about PHP is

php vs python

2008-05-21 Thread notbob
I'm not posting this just to initiate some religious flame war, though it's the perfect subject to do so. No, I actaully want some serious advice about these two languages and since I think usenet is the best arena to find it, here ya' go. So, here's my delimna: I want to start a blog. Yeah,

Re: php vs python

2008-05-21 Thread Jeffrey Froman
notbob wrote: I persevere because it's more fun/challenging than video games This is the crux of the matter from where I'm sitting. If the purpose of learning a programming language is fun, then the primary relevant question is: Is it more fun to code in Python or PHP? The answer is

Re: php vs python

2008-05-21 Thread Carl Banks
On May 21, 4:10 pm, notbob [EMAIL PROTECTED] wrote: Sometimes it seems overwhelming, but I persevere because it's more fun/challenging than video games, which bore me to tears. Ha, exactly the opposite here. Well, that's my actual question, then. Is php really so bad I'm just wasting my

Re: php vs python

2008-05-21 Thread Damon Getsman
In my opinion, with the previous experience that you have in coding that you've mentioned, you're probably better off if you minimize the amount of new syntaxes you'll have to pick up. Standard technique for what you're trying to accomplish is more often than not Apache with the PHP and MySQL

Re: php vs python

2008-05-21 Thread notbob
On 2008-05-21, Michael Vilain [EMAIL PROTECTED] wrote: your site. They may even have a blogging package you can administer entries without any programming. What's your end-goal here? If you can't program, you may be better off with a package or tool that does all the heavy lifting for

Re: php vs python

2008-05-21 Thread notbob
On 2008-05-21, Carl Banks [EMAIL PROTECTED] wrote: If you just want to write a simple blog, PHP is probably good enough. It's undeniably easier to jump into web programming with PHP-- partially because of it's widespread support and straightforward usage, partially because Python web

Re: php vs python

2008-05-21 Thread notbob
On 2008-05-21, Damon Getsman [EMAIL PROTECTED] wrote: My suggestion, if you want to keep that gray meat sparking, is to go with only html php. You could have the php dumping your entries into date/time named textfiles on there when you're writing, and when someone is reading, it just orders

Re: php vs python

2008-05-21 Thread Paul Rubin
notbob [EMAIL PROTECTED] writes: Well, that's my actual question, then. Is php really so bad I'm just wasting my time? Or is it really the quickest way to blog functionality? php is very easy to get started with and some big sites have been written in it. There is lots of low cost php

Re: php vs python

2008-05-21 Thread Baris-C
On May 21, 11:10 pm, notbob [EMAIL PROTECTED] wrote: I'm not posting this just to initiate some religious flame war, though it's the perfect subject to do so.  No, I actaully want some serious advice about these two languages and since I think usenet is the best arena to find it, here ya' go.

Re: php vs python

2008-05-21 Thread alex23
On May 22, 6:10 am, notbob [EMAIL PROTECTED] wrote: Well, that's my actual question, then. Is php really so bad I'm just wasting my time? Or is it really the quickest way to blog functionality? Would I be better served in the long run learning python, which claims to be easy as pie to

Re: php vs python

2008-05-21 Thread Larry Bates
notbob wrote: I'm not posting this just to initiate some religious flame war, though it's the perfect subject to do so. No, I actaully want some serious advice about these two languages and since I think usenet is the best arena to find it, here ya' go. So, here's my delimna: I want to start a

Re: php vs python

2008-05-21 Thread NC
On May 21, 1:10 pm, notbob [EMAIL PROTECTED] wrote: So, here's my delimna: I want to start a blog. Yeah, who doesn't. Yet, I want learn the guts of it instead of just booting up some wordwank or whatever. Here's a simple computation to consider... WordPress' codebase is approximately a

php vs python (operator comparison)-repost

2006-06-21 Thread brandon.mcginty
Im sorry if this was already posted to the list; Ive been having major e-mail problems lately. Hi All, Ive already done a large amount of searching on Google to find out this information, but to no avale. Does anyone here know of a list of operators in python and there

operator comparison for php vs python

2006-06-19 Thread brandon.mcginty
Hi All, Ive already done a large amount of searching on Google to find out this information, but to no avale. Does anyone here know of a list of operators in python and there counterparts in php, or a website with this information? It would also be helpful to have this information along

Re: PHP vs. Python (speed-wise comparison)

2004-12-27 Thread Jon Perez
[EMAIL PROTECTED] wrote: Anyone know which is faster? I'm a PHP programmer but considering getting into Python ... did searches on Google but didn't turn much up on this. Thanks! Stephen If you're talking about usage as a server side scripting language, then PHP will likely give better page

Re: PHP vs. Python (speed-wise comparison)

2004-12-27 Thread JZ
Dnia Tue, 28 Dec 2004 02:54:13 +0800, Jon Perez napisa(a): If you're talking about usage as a server side scripting language, then PHP will likely give better page serving throughput for the same hardware configuration versus even something that is mod_python based (but I believe the speed

Re: PHP vs. Python

2004-12-24 Thread Duncan Booth
Paul Rubin wrote: I've never heard of any large sites being done in Python, with or without scaling. By a large site I mean one that regularly gets 100 hits/sec or more. There are many sites like that out there. Those are the ones that need to be concerned about scaling. How exactly would

Re: PHP vs. Python

2004-12-23 Thread JZ
Dnia Wed, 22 Dec 2004 20:57:07 -0500, Robert Kern napisa(a): I think he means, scale to larger programs, not scale to more processors. Yes. I will try to be more specific. There is several reasons why Python scales better than PHP. (1) Python uses namespaces, PHP - not. The bigger programm

Re: PHP vs. Python

2004-12-23 Thread Roger Binns
Eric Pederson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] My beloved Python-oriented webhost doesn't currently support Mod-Python You can always do what I did. I wrote the backend of my app in Python and run it as an XML-RPC server. I did the front end in PHP using the Smarty

Re: PHP vs. Python

2004-12-23 Thread Stephen
I like the idea of being able to port specific sections to C ... Python seems more flexible than PHP ... scalable. We're mainly using it to drive dynamic web apps ... online store ... etc. Thanks Again! Stephen -- http://mail.python.org/mailman/listinfo/python-list

Re: PHP vs. Python

2004-12-23 Thread Roger Binns
Stephen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I like the idea of being able to port specific sections to C ... Python seems more flexible than PHP ... scalable. If you want portions of your code in C, then wrap them with Swig. That way they can be available in any number of

PHP vs. Python

2004-12-22 Thread stephen . mayer
Anyone know which is faster? I'm a PHP programmer but considering getting into Python ... did searches on Google but didn't turn much up on this. Thanks! Stephen -- http://mail.python.org/mailman/listinfo/python-list

  1   2   >