Pages

Subscribe:

Kamis, 18 Agustus 2011

Know the Python Programming Language

For my starter is still my kayak on the python programming language follows some explanation in a nutshell:

1The introduction of Python programming language

Quote:
Python is a high-level programming language for various purposesspecificallydesigned to easily read, understood, and usedPython is a scripting language issimple but powerful with a syntax very elegant and beautiful is no less beautiful withRuby.
In addition to the programming language is extensible cool is my natureand a lot ofmy librarynya module and can be used as needed us.



2Writing style syntax (coding convention)

If you are a programmer I'm used to programming languages ​​CC + +Java et al.may be little surprisebecause the rules written in the Python syntax is very different from most programming languages ​​using the delimiter of the block, for example in theprogramming languages ​​CC + +and Java delimiter block using curly brackets'{}',example:

int main (int argcchar ** argv)
{
return 0;
}

Similarly, in procedural programming languages​​, like Delphiusing BEGIN and ENDblocks.

While Python uses indentation blocks I usually use a tab as delimiternyafor example:
Code:
def main ():
     return 0

can not be written:
Code:
def main ():
     return 0

Tidak ada komentar:

Posting Komentar

Related Posts Plugin for WordPress, Blogger...