Ten Things Java Programmers Should Know About Python


In recent years, scripting languages are used more and more for developing web sites and web applications. Among the popular scripting languages is Python. If you are a Java developer and is looking to learn what Python is all about, this post is for you.

  1. Python is a general programming language invented by by Guido van Rossum back in 1990.
  2. It is a very high level, dynamic, objected oriented and cross-platform language.
  3. Described by one of the authors of the book “Python Cookbook” as a language with syntactic ease of Rexx, the semantic simplicity of Tcl, the intellectual rigor of Scheme, and the awesome power of Perl.
  4. Python is more than a language, it has a set of standard library and other extension modules. This is similar to Java language.
  5. There are two production-quality implementations: CPython and Jython. Python .NET is an experimental implementation.
  6. Python does not use braces or begin/end delimiters around blocks of statements. Indentation is the only way to indicate such blocks.
  7. Some of the interesting keywords are: lambda and yield.
  8. One of the built-in number objects is complex numbers.
  9. The built-in type None denotes a null object.
  10. Python is an OO language, but it doesn’t force you to use OO paradigm. It also support procedural programming paradigm with modules and functions.

You can find a lot of information, tutorials, about Python at http://www.python.org/doc/. There is a free Python book at http://diveintopython.org/.

Have fun.

Advertisements
This entry was posted in Java, Python and tagged . Bookmark the permalink.

3 Responses to Ten Things Java Programmers Should Know About Python

  1. infixum says:

    IronPython, Microsoft’s open source version of Python based on the dot net framework and designed to work with it, can be included in the production quality versions. It’s actually passed version 1.0.
    Some of the modules available in CPython are available in IronPython; many aren’t. In their absence you use the dot net framework equivalents.
    I’ve had decent luck with it on small projects.

  2. Pingback: Blogs and RSS » Ten Things Java Programmers Should Know About Python PODIDEA Blog

  3. Arafura says:

    Somehow i missed the point. Probably lost in translation 🙂 Anyway … nice blog to visit.

    cheers, Arafura.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s