Friday, February 4, 2011

Monty Python and Python Programming Protocol (PPP)

I never thought Linux has any relationship to Monty Python's playacting and his scripts.
Now I discover python language's name comes from his acting skills and not due to any programming language as long as a reptile called python.

In my case any programming language is a python to me whether it is C or C++ or Java or Beans (they never spell or spill the beans or code in anyway comprehensible to human mind but to computers only) and sometimes with cobra venom installed in them and any sane guy start hating them.

All these changed when I discovered Linux. Whether you like or not one needs to know few starting scripts and rooting responses, booting and Grubbing files, if one wants to embrace Linux.

So I did.

Now I hear suddenly from nowhere 'A' Level students are made to learn python in schools and act like Monty Python of BBC.

BBC Basic was the first language I started learning before Sinclair's Basic and long time before I discovered there is something called C and later Unix.

By the way, the language is named after the BBC show “Monty Python’s Flying Circus” and has nothing to do with reptiles.
Making references to Monty Python and acting skills are actively encouraged by the Linux community.

Some of Python's notable features:
Uses an elegant syntax, making the programs you write easier to read.

Is an easy-to-use language that makes it simple to get your program working. This makes Python ideal for prototype development and other ad-hoc programming tasks, without compromising maintainability.

Comes with a large standard library that supports many common programming tasks such as connecting to web servers, searching text with regular expressions, reading and modifying files.

Python's interactive mode makes it easy to test short snippets of code. There's also a bundled development environment called IDLE.

Is easily extended by adding new modules implemented in a compiled language such as C or C++.

Can also be embedded into an application to provide a programmable interface.

Runs on many different computers and operating systems: Windows, MacOS, many brands of Unix, OS/2.


Is free software in two senses. It doesn't cost anything to download or use Python, or to include it in your application. Python can also be freely modified and re-distributed, because while the language is copyrighted it's available under, an open source license.

Python is an easy and powerful object-oriented programming language. It was originally created back in the 1980's, but saw it's first public release in 1991. After the release of Python 1.0 in 1994, it quickly became one of the preferred programming language for the creation of web applications in the Internet, alongside with Perl and PHP.

It's creator, Guido van Rossum has played a major part in the Python development from it's first release and has a central role in deciding the direction of the Python development.

Python is often used as a scripting language for web applications in combination with the "mod python" module for the Apache web server. Python's easiness of use and ability to integrate with different SDKs allows the creation of many different programs for Windows, Linux, Маc ОS and other operational systems.

This is what Eric Raymond gas to say about Python

I had already heard just enough about Python to know that it is what is nowadays called a “scripting language”, an interpretive language with its own built-in memory management and good facilities for calling and cooperating with other programs.

So I dived into Programming Python with one question uppermost in my mind: what has this got that Perl does not?

Perl, of course, is the 800-pound gorilla of modern scripting languages.

It has largely replaced shell as the scripting language of choice for system administrators, thanks partly to its comprehensive set of UNIX library and system calls, and partly to the huge collection of Perl modules built by a very active Perl community. The language is commonly estimated to be the CGI language behind about 85% of the “live” content on the Net.

Larry Wall, its creator, is rightly considered one of the most important leaders in the Open Source community, and often ranks third behind Linus Torvalds and Richard Stallman in the current pantheon of hacker demigods.

To say I was astonished would have been positively wallowing in understatement.

It's remarkable enough when implementations of simple techniques work exactly as expected the first time; but my first metaclass hack in a new language, six days from a cold standing start?
Even if we stipulate that I am a fairly talented hacker, this is an amazing testament to Python's clarity and elegance of design.

There was simply no way I could have pulled off a coup like this in Perl, even with my vastly greater experience level in that language. It was at this point I realized I was probably leaving Perl behind.

Now Guido van Rossum who has a major role in development in Python will join the elite three mentioned above.(Linus Torvalds, Richard Stallman and Larry Wall).

It is not easy to master a computer language but one who has background knowledge and basic understanding of several language would benefit from it.

Jumping into it straight away may not be the best way.

Learning C and Unix, Linux and how scripting done and modules used to take advantage of Linux kernels is necessary before embarking on this adventure.

In any case Linux is the winner.

It is an object oriented interpretive language with graphic capability may be better than Visual Basic but if one needs to advance in programming language one need to know the code and syntax behind the ant graphic interphase.

There are lot of language wrapped behind the Linux kernel and scripting. It is far better to master Linux and simple commands and scripts before delving.into an advanced language with powerful capabilities.

I still prefer to call it a python with reptilian image because it is a very very long language behind the big modules.

Enjoy Linux and one will enjoy Python too but do not let it wrap round your neck and squeeze your wind pipe and suffocate you.

Better learn few piping tricks in Linux and put the python inside a pipe and tame it.

Then it will work for you like a poor captured cobra dancing!

No comments:

Post a Comment