Python 2.0 Released
atallah writes: "It would appear that the long awaited Python 2.0 was finally released today. The front page of the Web site has the announcement." According to that announcement, Python 2.0 will receive minor-version updates around every 6 months, even as work begins on the shoot-for-the-moon Python 3000. For the curious, here's the list of what's new in 2.0; the list includes "full XML support and several forms of new syntax," as well as the BeOpen label.
Which editor has good support for editing Python source code?
On Unix, the first choice is Emacs/XEmacs. There's an elaborate mode for editing Python code, which is available from the Python source distribution (Misc/python-mode.el). It's also bundled with XEmacs (we're still working on legal details to make it possible to bundle it with FSF Emacs). And it has its own web page:
http://www.python.org/emacs/python-mode/index.html
There are many other choices, for Unix, Windows or Macintosh. Richard Jones compiled a table from postings on the Python newsgroup:
http://www.bofh.asn.au/~richard/editors.html See also FAQ question 7.10 for some more Mac and Win options.
Hope this helps. Like I said above I'm just beginning to learn python so my knowledge is somewhat limited. I just like what I've seen so far.
Environmentalists are their own worst enemy. ~tricklenews.com
"I'm sorry", said God, "but the release schedule for Human is to be set back again." God went on to specify that Human 1.0.1 is having trouble making it to beta due to a hairy bug in the evolution code in Kansas.
MyopicProwls
MyopicProwls
My homepage
I agree. Even Smalltalk, a purely OO language, handles lambda better. It's also geared at a similar begining to program audience.
Working toward a usable PDA environment in the spirit of Newton OS: Dynapad
Python will always be Free and Open Source. No matter what it says there, that is absolutely no reason to not use the language. Don't try to create problems where there aren't any.
A slashdotter who didn't build his own computer is like a Jedi who didn't build his own lightsaber.
Why would you use a lame language like Python or Perl
Every one knows that the best language is Visual Ba
This post has performed an Illegal Operation and will be shutdown.
Well, there are pluses and minus to using either Perl or Python as a first programming language:
;)
Perl Pluses:
You'll probably learn the value of making code readable. Perl is notorious for unmaintainable code.
Perl follows the, "There's more than one way to do it" philosophy, so you'll likely find that Perl programs you write more closely follow your thought/reasoning patterns.
Perl Minuses:
Because there are so many different ways of accomplishing the same goal, it might take longer to learn the language since you'll really have to think about what you want to do.
Python Pluses:
Very structured language - makes it easier to navigate for a beginner.
There are fewer ways to do one thing than with Perl, so it'll probably be quicker to learn the entire language. There arn't as many "gotcha"s.
Python Minuses:
Might be too structured for a beginner, but I've found it easier to teach than most other languages.
Sometimes it's a pain to do what you want, and you might have to go about it in a roundabout way.
Just my two cents, based on rather limited experience
Dave
'Round the firewall,
Out the modem,
Through the router,
Down the wire,
Barclay family motto:
Aut agere aut mori.
(Either action or death.)
The changes seem to be an incremental evolution of the language, not a groundbreaking new language. But if you are a language / tools junkie like me, you owe it to yourself to take a look, even if you're turned off by the rumors of mandated indenting.
Bleh!
Just wanted to throw out some thoughts on why I steered the project I'm currently working on towards Python. My background is mostly in the MS suite of things. I also know Java, Python, Smalltalk, LISP, C, C++, and I've tinkered with Perl, REBOL, Prolog, etc. so I'm no MS bigot; that's just the majority of my experience.
.NET initiative may push VB into the cross-platform arena soon, it won't be soon enough for me.
.NET world, and throw in Zope for good measure.
First of all, why did we choose Python? The project is basically fat client, and could have been done with almost any development environment.
In our case, Java and VB were the other primary contenders. We need a rapidly developed application that is cross-platform. The customer doesn't have much money at this point, and therefore not much time either. Therefore Java is out. That seems counter-intuitive right? Java is supposed to save a lot of time after all. However, that's only true when you compare Java development time to C or C++ development time. Compare Java's development time to VB or Python's, and it's a completely different story. Java just didn't seem to work at a high enough level of abstraction to get the job done.
So, why didn't we use VB? That's simple: it's developed for, and stays on, Windows. And that's it. Yes there are products that will let you translate VB to Java. There are some cross-platform Basic products out there. Have you used them though? They don't get the job done very well. And they normally leave it to you to figure out where a translation/cross-compile goes wrong. All in all, it just doesn't have a professional feel to it. Also, while the
Now, I suppose we could have used Perl, but frankly I fear Perl. Why? Because of the very flexibility it asserts as an advantage. Yes, I can write the solution in pretty much the way I think. Given the fact that I have yet to find two people who think about a problem in the same way though, that's a maintenance problem in what may become a large project.
Once I selected Python on a preliminary basis, I had to make sure it would actually work. I developed GUIs for it with no problem. We did an XML proof. I did proofs on its object capabilities. I looked at sites and applications developed in Python. Could it handle the (relatively tiny) needs of my project? You bet it can. It can do all of that and more.
Anyone who wants a relatively impressive sample of what Python can do should take a look at http://wildsau.idv.uni-linz.ac.at/mfx/pysol/. It's a huge (free!) solitaire game with all sorts of options and games. I haven't seen anything else like it come from the other scripting languages (not picking on any one language here though), except VB, and that is not on the list. Pile that game on top of the fact that Python gets used for server-side applications, has two companies actively working on its development (BeOpen and ActiveState), can be used in the JVM (JPython), will be usable in the MS
Python is a VERY strong VB replacement contender.
Please mod this post only if you think others should/n't read this. I have enough ego^H^H^Hkarma. Thanks!