I’m Learning Python part 3
I’m Learning Python (part 3) <p> <img title="Python Logo" src="http://www.python.org/images/python-logo.gif" alt="Python Logo" /></div> <h1 style="font-family: Georgia;"> What Is Interactive Mode? </h1> <p> When you install Python on your platform you’ll find an executable called ‘python’, when you run it you’ll find a terminal and you’ll see something like the following:<br /> <em>Python 2.6 (r26:66721, Oct 2 2008, 11:35:03) [MSC v.1500 32 bit (Intel)] on win32<br /> Type “help”, “copyright”, “credits” or “license” for more information.<br /> >>></em><br /> This is called interactive coding (or interactive mode), here you can write Python statements and the interpreter will execute them directly, let’s try:<br /> <em>>>> print “I Love Python”<br /> I Love Python<br /> >>> print 2 ** 10<br /> 1024<br /> >>></em><br /> ...