Python Intro

Python is quite a robust and dynamic language. It is very useful in writing scripts. Like any other scripting language, it can be used to automate certain tasks.

In most languages the file extension s start with the first letter of the word or sometimes the whole word. For example, the file extension for the C language is .c , for c++ it is .cpp and for java it is .java.  Python uses a similar naming convention for it’s extension. It uses the first two letters of the word and hence it is named as .py .

Python unlike other programming languages do not use braces to denote a block. Blocks are mainly represented using indentations. And one has to be very careful in using them. Since in python if a set of statements have to be defined in a block each line of that block should have the same amount of spacing.


Leave a Reply

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

You are commenting using your 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