wiki.python.org — This page is devoted to various tips and tricks that help improve the performance of your Python programs. Note: You should always test these tips with your application and the version of Python you intend to use and not just blindly accept that one method is faster than another.
Apr 3, 2006 View in Crawl 4
shinynewApr 4, 2006
in recent games Civ IV acually uses it. They boasted the mod making abilities very high and if you use the same artwork you can make a mod useing only XML and Python.
manhighApr 5, 2006
Python is amazing. Quick, easy, well documented. Unless computational speed is of the utmost importance (when I use Fortran 9x/200x).
atrerraApr 5, 2006
I keep hearing contradicting things about the speed of python. Examples:"The downside, of course, is performance. Uses lots of RAM and a bit more CPU then other stuff. For heavy-use sites you have to run it behind a cache'ng Apache server or whatnot."and"Battlefield 2 uses it. So so a few other games..""a 3d gaming engine designed by Disney corporation for MMORG-style games online..."I'm confused - it's too slow for (some) web sites but perfectly fast enough for leading edge 3D games? Can someone clarify?One other thing - is there a python GUI IDE for OS/X?Thanks...
swivelheadApr 5, 2006
I remember asking the same question about 3 years ago about python and the only things answering were the crickets.The problem was that once you proceeded into intermediate-beginner level, every Python published cookbook-project concerned using it to extend a thingajabob that you never heard of in Java or C.It was almost as if you were teaching your kindergardener about primary colors and then asked them to paint the house.I was thinking, "I didn't want to pick up Python so I would have to learn something even more difficult in Java/C!"I would love to pick it back up for the long haul, since Python's my personal favorite. I just hope there are more realizable uses for it now.
bhmckendrickAug 6, 2006
I had messed around w/ Python professionally but never got real familiar until recently ... It gave me a good chuckle to hear folks on this board praising the documentation - that's a freakin' larf. If you come from a more structured language like C / Java you're in for a shock! The standard library doc is useless ( but the standard tutorial is pretty good ) - wait till you get to the 3rdparty/OS libs ... You are in for a lot of the 'if you're not willing to reverse engineer my code to figure out how it works ... You shouldn't be using it' type of attitude ... I have never seen anything like it ... Otherwise - it's a great language ... Just stick it out over the first couple o' weeks ...