Friday, 4 November 2011

Playing with python interactive shell.

Let's start with first Hello World. Go to command prompt, type python and press enter. you will see:















Now type print ("Hello World") and press enter.












You can do all other stuff with shell like you write program in any editor. After each line of code you write and press enter, you will get direct response from shell. In real world programming we generally don't use command prompt for projects. so, we will concentrate more on programming through IDE. Below is one more example for shell programming.



1 comment:

  1. Expected to form you a next to no word to thank you once more with respect to the decent recommendations you've contributed here.

    python training in bangalore|

    ReplyDelete