I started learning Python from “A Byte of Python”. It seems interesting to me. As heard, this programming language is Simple, Easy to Learn, Free and Open Source, High-level Language, Portable, Interpreted, Object Oriented, Extensible, Embeddable and has Extensive Libraries. Guido Van Rossum, the creator of the Python language, named the language after the BBC show “Monty Python’s Flying Circus“. Official web : http://www.python.org/ and a nice introduction at http://en.wikipedia.org/wiki/Python_%28programming_language%29
With the progress of learning, I will be writing important/remarkable notes. The first day is as follows:
1. I am basically a Windows user. As I followed, you also can go to the link http://www.python.org/download/releases/ and from the desired release, you will get the installer for Windows OS.
2. To use IDLE, Click on Start -> All Programs -> Python 3.2 -> IDLE (Python GUI) or for command line click on Start -> All Programs -> Python 3.2 -> Python (command line).
3. As it is a scripting language, it will give output promptly for every single statement written. e.g. Just type print(“Hello Honey”) and press Enter key, it will show Hello honey as output.
4. To exit from prompt, type exit() or ctrl-z and then press Enter key.
5. IDLE is a good editor of Python for Windows OS.
6. You can also put your codes in a file (having extension .py) and then run it from IDLE or using python command from DOS command.
7. The symbol ‘#’ is used for comment in Python.
8. To get help from Python built-in manual, use help() function. e.g. to know about print, type help(print) and then press Enter key. Note that, all keywords and function names are case sensitive.
That’s all for the first day. Bye.