December 2nd, 2003, 12:36 AM
2nd Edition Learning Python Book?
Any one know when the 2nd Edition Learning Python Book by O'Reily is coming out?
Last edited by Beast4rmDaEast; December 2nd, 2003 at 06:14 PM.
December 14th, 2003, 11:20 PM
hello? can someone answer my question, im despratly searching for one...
December 15th, 2003, 12:13 AM
I have to say that If you've done any OO programming, you'll be fine .. prob take a week to pick up enough python to program well in it.
If you haven't done much programming, this is excellent :
December 15th, 2003, 02:26 AM
its an ok tutorial, its not my fav' since it seems to teach a few bad ideas but should get you started.. obviously check out the Python tut in your copy of the docs! That should teach you everything you need to know...
December 15th, 2003, 08:40 AM
December 18th, 2003, 04:00 PM
What are those bad ideas? Even a general outline would be nice.
December 18th, 2003, 04:46 PM
Ah nothing really major, just little things like not pushing new users to use string formatting which can provide a nice preformance boost over string consination in alot of cases etc. Don't get me wrong overall its an ok tutorial
December 18th, 2003, 07:12 PM
I don't get why everyone mentions that about python. A coleague mentioned that in my example code I gave to get them to accept me for my current job, that I could learn something about programming in python. And when I asked for an example he gave that (string interpolation).
It's certainly not a bad idea or bad design choice. It's not even an issue unless ur parsing enourmous amounts of text at a time.
Having said that, knowledge is most important, and I'm glad to know it.
However, it is a small technicality and I find people always make way too big a deal about it.
edit: hope that didn't come off as rude to you Mark, it wasn't intended to be.
Last edited by lazy_yogi; December 18th, 2003 at 07:17 PM.
December 18th, 2003, 07:41 PM
Naw not at all ele, i dont take offence that easily .
And your right there isnt really a problem with the preformance of either method untill your start working with large strings however it simply is that one is more efficent at this than the other and if your not worried about prefomance then dont worry about it. But if you are then your gonna save yourself alot fo time (especially in loops) by using string formatting instead of consination
Its not really the length of the string were worried about here its more the number of copies the interpriter has to pass around
To each his own,
Last edited by netytan; December 18th, 2003 at 07:47 PM.