tuples vs lists

2005-01-08 Thread worzel
I get what the difference is between a tuple and a list, but why would I 
ever care about the tuple's immuutability?
Also, do you say 'too-ple' or 'chu-ple' - if you get my drift. (tomato or 
tomato kind of thing)
TIA 


-- 
http://mail.python.org/mailman/listinfo/python-list


The best way to do web apps with Python?

2005-01-08 Thread worzel



What is the best way 
to web developemnt with Python? Is there anything close to PHP style in-page 
script placement that can create and use other Python objects? I am not really 
interested in Zope (I believe that is more a CMS than anything else?) I am also 
looking for something a little more structured than a series of CGI 
Scripts.

While on the topic - what is the expectataion of 
Python for this kind of stuff? Would one use Python for certain other things but 
turn to PHP for web apps - or would one use their Python skills in place of PHP? 


TIA
-- 
http://mail.python.org/mailman/listinfo/python-list

Re: tuples vs lists

2005-01-08 Thread worzel
Cheers - thanks for the feedback guys - pretty much answers the question for 
me.

'Two-Pull' it is then, thanks.


Steve Horsley [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 worzel wrote:
 I get what the difference is between a tuple and a list, but why would I 
 ever care about the tuple's immuutability?

 Mainly for security and speed. Many library functions return info by 
 returning
 a reference to an internally held tuple, and could be damaged / 
 compromised
 / corrupted if that internal data was modified by malicious code. If 
 tuples
 were mutable (lists) then it would be necessary to return a copy instead.

 Also, do you say 'too-ple' or 'chu-ple' - if you get my drift. (tomato or 
 tomato kind of thing)

 Try 'Two-pull'.

 Steve 


-- 
http://mail.python.org/mailman/listinfo/python-list


Re: tuples vs lists

2005-01-08 Thread worzel
yes, tyoopl  - thats what I meant by 'choo-ple' (not v good at the 
phonetics)
As a scouse git (though living in Australia), I would definitely say 
'tyoopl'.

Steve Holden [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 worzel wrote:

 Cheers - thanks for the feedback guys - pretty much answers the question 
 for me.

 'Two-Pull' it is then, thanks.

 Well, it might be Two-Pull in American, but in English it's tyoopl --  
 NOT choopl (blearch!). I've also heard people say tuppl.

 So, basically, say whatever you want. Language is about communication :-)

 you-say-tomato-ly y'rs  - steve
 -- 
 Steve Holden   http://www.holdenweb.com/
 Python Web Programming  http://pydish.holdenweb.com/
 Holden Web LLC  +1 703 861 4237  +1 800 494 3119 


-- 
http://mail.python.org/mailman/listinfo/python-list


Re: The best way to do web apps with Python?

2005-01-08 Thread worzel
Holy Moly - there's quite a few choices out there! I like the look of 
Karrigel for my immediate needs.

Looking forward to the day there is a more 'j2ee' like standard in place for 
Python - looks like this is in the works.

Thanks for all the feedback guys.



worzel [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
What is the best way to web developemnt with Python? Is there anything close 
to PHP style in-page script placement that can create and use other Python 
objects? I am not really interested in Zope (I believe that is more a CMS 
than anything else?) I am also looking for something a little more 
structured than a series of CGI Scripts.

While on the topic - what is the expectataion of Python for this kind of 
stuff? Would one use Python for certain other things but turn to PHP for web 
apps - or would one use their Python skills in place of PHP?

TIA 


-- 
http://mail.python.org/mailman/listinfo/python-list


is python more popular than coldfusion?

2005-01-05 Thread worzel




is python more popular than coldfusion?
I realsie that is a very general question as one 
thing does not directly relate to the other. My issue is that I am ditching 
coldfusion due to there being next to no work for it, and I am thinking of 
taking on python as a second language to java in the hope of improving my 
resume.
-- 
http://mail.python.org/mailman/listinfo/python-list

Re: is python more popular than coldfusion?

2005-01-05 Thread worzel
How seriuosly do folk take the TIOBE index? Is it a good way to ague what 
you should be keeping up to speed with or just a 'vague' guide?



Premshree Pillai [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 On Wed, 5 Jan 2005 19:59:21 +0800, worzel [EMAIL PROTECTED] wrote:



 is python more popular than coldfusion?

 I don't know if Coldfusion _was_ ever more popular than Python, but
 Python is definitely more popular _now_.

 This might be of some help: http://www.tiobe.com/tpci.htm


 I realsie that is a very general question as one thing does not directly
 relate to the other. My issue is that I am ditching coldfusion due to 
 there
 being next to no work for it, and I am thinking of taking on python as a
 second language to java in the hope of improving my resume.
 --
 http://mail.python.org/mailman/listinfo/python-list




 -- 
 Premshree Pillai
 http://www.livejournal.com/~premshree 


-- 
http://mail.python.org/mailman/listinfo/python-list


Re: is python more popular than coldfusion?

2005-01-05 Thread worzel
Wth respect to coldfusion, is there much doubt about the fact that Python is 
a more prominent and important technology?

How is colfusion percieved by the Python community? Many people belive 
coldfusion is becomeing irrelavant and is on its death bed - do Python folk 
generally feel this way about it?

Thanks for your input on this by the way.

Premshree Pillai [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 On Wed, 5 Jan 2005 21:09:54 +0800, worzel [EMAIL PROTECTED] wrote:
 How seriuosly do folk take the TIOBE index? Is it a good way to ague what
 you should be keeping up to speed with or just a 'vague' guide?

 I use the TIOBE index -- sometimes -- when I give presentations on
 Python (and Ruby) to people who haven't heard of the languages.

 The index is not something to be relied upon (take a look at the
 calculation mechanism). However, more often than not, the indices
 seems to reflect what *I* perceive the indices are in reality. So I
 kinda use them.

 The thing about introducing a new language to a bunch of folks used
 to their favorite language is that they wouldn't care much for a
 language it isn't popular, or if it isn't growing in popularity.

 Beyond these things, I don't think anybody uses the index. I mean I
 wouldn't tell people to learn languages that hold the top position on
 TIOBE ;).


 Premshree Pillai [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
  On Wed, 5 Jan 2005 19:59:21 +0800, worzel [EMAIL PROTECTED] wrote:
 
 
 
  is python more popular than coldfusion?
 
  I don't know if Coldfusion _was_ ever more popular than Python, but
  Python is definitely more popular _now_.
 
  This might be of some help: http://www.tiobe.com/tpci.htm
 
 
  I realsie that is a very general question as one thing does not 
  directly
  relate to the other. My issue is that I am ditching coldfusion due to
  there
  being next to no work for it, and I am thinking of taking on python as 
  a
  second language to java in the hope of improving my resume.
  --
  http://mail.python.org/mailman/listinfo/python-list
 
 
 
 
  --
  Premshree Pillai
  http://www.livejournal.com/~premshree

 --
 http://mail.python.org/mailman/listinfo/python-list



 -- 
 Premshree Pillai
 http://www.livejournal.com/~premshree 


-- 
http://mail.python.org/mailman/listinfo/python-list


Re: is python more popular than coldfusion?

2005-01-05 Thread worzel
thanks, thats pretty much what I expected to hear.

Premshree Pillai [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 On Wed, 5 Jan 2005 21:30:40 +0800, worzel [EMAIL PROTECTED] wrote:
 Wth respect to coldfusion, is there much doubt about the fact that Python 
 is
 a more prominent and important technology?

 No doubt in my mind at least.


 How is colfusion percieved by the Python community? Many people belive
 coldfusion is becomeing irrelavant and is on its death bed - do Python 
 folk
 generally feel this way about it?

 I have no much idea about Coldfusion, but as far as its *use* is
 concerned, it definitely isn't much.


 Thanks for your input on this by the way.

 Premshree Pillai [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
  On Wed, 5 Jan 2005 21:09:54 +0800, worzel [EMAIL PROTECTED] wrote:
  How seriuosly do folk take the TIOBE index? Is it a good way to ague 
  what
  you should be keeping up to speed with or just a 'vague' guide?
 
  I use the TIOBE index -- sometimes -- when I give presentations on
  Python (and Ruby) to people who haven't heard of the languages.
 
  The index is not something to be relied upon (take a look at the
  calculation mechanism). However, more often than not, the indices
  seems to reflect what *I* perceive the indices are in reality. So I
  kinda use them.
 
  The thing about introducing a new language to a bunch of folks used
  to their favorite language is that they wouldn't care much for a
  language it isn't popular, or if it isn't growing in popularity.
 
  Beyond these things, I don't think anybody uses the index. I mean I
  wouldn't tell people to learn languages that hold the top position on
  TIOBE ;).
 
 
  Premshree Pillai [EMAIL PROTECTED] wrote in message
  news:[EMAIL PROTECTED]
   On Wed, 5 Jan 2005 19:59:21 +0800, worzel [EMAIL PROTECTED] wrote:
  
  
  
   is python more popular than coldfusion?
  
   I don't know if Coldfusion _was_ ever more popular than Python, 
   but
   Python is definitely more popular _now_.
  
   This might be of some help: http://www.tiobe.com/tpci.htm
  
  
   I realsie that is a very general question as one thing does not
   directly
   relate to the other. My issue is that I am ditching coldfusion due 
   to
   there
   being next to no work for it, and I am thinking of taking on python 
   as
   a
   second language to java in the hope of improving my resume.
   --
   http://mail.python.org/mailman/listinfo/python-list
  
  
  
  
   --
   Premshree Pillai
   http://www.livejournal.com/~premshree
 
  --
  http://mail.python.org/mailman/listinfo/python-list
 
 
 
  --
  Premshree Pillai
  http://www.livejournal.com/~premshree

 --
 http://mail.python.org/mailman/listinfo/python-list



 -- 
 Premshree Pillai
 http://www.livejournal.com/~premshree 


-- 
http://mail.python.org/mailman/listinfo/python-list


Re: is python more popular than coldfusion?

2005-01-05 Thread worzel



Thanks for all the feedback guys.

It seems CF is not really a big money earner or 
even recognised as a serious language to many folk.

by the way, does anybody want to buy any coldfusion 
books :)

(I just bought O'Reileys 'Learning Python' - its 
extremely readable and very thorough)


  "worzel" [EMAIL PROTECTED] 
  wrote in message news:[EMAIL PROTECTED]...
  
  is python more popular than coldfusion?
  I realsie that is a very general question as one 
  thing does not directly relate to the other. My issue is that I am ditching 
  coldfusion due to there being next to no work for it, and I am thinking of 
  taking on python as a second language to java in the hope of improving my 
  resume.
-- 
http://mail.python.org/mailman/listinfo/python-list

Re: is python more popular than coldfusion?

2005-01-05 Thread worzel
re:
YOU'LL SEE IT'S ADDICTIVE

Yes, I know! I am hooked already! Its such a breeze after doing so much Java 
programming. I just download Jython - the possibilities with this seem 
incredible.

Unlike you, I learned Coldfusion after learning Java first (about 1996). For 
the sake of a couple of jobs I got on and then some training work as a 
Macromedia Instructor, it was okay for a while. But, the work dried up, and 
then the training became in very low demand, so I find myself looking for a 
new 'second language' - Python is it! (Its in danger of becoming my 'first 
language' as I am enjoying it so much!)




Luis M. Gonzalez [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 by the way, does anybody want to buy any coldfusion books :)

 I have Sam's Teach Yourself Coldfusion by Charles Mohnike, which I
 bought in 2001.
 By this time I used to think that I was learning rocket science the
 easy way, and thinking about learning php or asp was really scary...
 these codes looked very complex for my uninitiated eyes.
 However, It was good for grasping the logic of interacting with a
 database through sql and making my website dynamic.
 Soon I realized that finding a cheap CF hosting wasn't easy at all, and
 I started to read about php.
 Php is also for web development, but it gave me the basic knowledge to
 understand programming.
 However, I wanted to learn a more general purpose language and I don't
 remember how, I landed in pythonland.

 Let me tell you that I could learn python basics in just a few hours.
 Once I got the interpreter running, I couldn't stop!
 Just get one of the many tutorial available on the web and start
 playing. YOU'LL SEE IT'S ADDICTIVE.

 If you want to start from zero, I suggest Josh Cogliati's beginner
 tutorial.
 Another good introduction is A Byte of Python (google this), or any of
 the ones quoted in Python's web site.

 Learning Python is a good book too (especially the second edition).
 Enjoy!
 


-- 
http://mail.python.org/mailman/listinfo/python-list