According to 2014 statistics, Python became one of the powerful languages, after Java, C++ in series. Python is a free downloadable language. You can start practice today.
Free Python-Downloads
- Anaconda Python – The link to install is here.
Both easy_install and pip are very easy to use when you need to install Python modules.
Whenever you need to install a Python module, use either easy_install or pip with the following syntax:
easy_install <module-name>
pip install <module-name>
2. Virtualenv – The link to install here.
Virtualenv addresses the problem of preserving the correct dependencies and versions (and, indirectly, permissions) for different applications. If you are a Python novice you might not need Virtualenv right now, but keep this tool in mind if you find yourself working in complex environments.
3. Ipython: The link to install is here.
Two very nice features of IPython are tab expansion and “?”, and an example of tab expansion is shown here:
python Python 2.7.5 |Anaconda 1.6.1 (x86_64)| (default, Jun 28 2013, 22:20:13) Type "copyright", "credits" or "license" for more information. IPython 0.13.2 -- An enhanced Interactive Python. ? -> Introduction and overview of IPython's features. %quickref -> Quick reference. help -> Python's own help system. object? -> Details about 'object', use 'object??' for extra details. In [1]: di %dirs dict dir divmod
if you type the characters di, IPython responds with the following line, which contains all the functions that start with the letters di:
dirs dict dir divmod
If you enter a question mark (“?”), IPython provides textual assistance, the first part of which is here:
IPython – An enhanced Interactive Python
IPython offers a combination of convenient shell features, special commands, and a history mechanism for both input (command history) and output (results caching, similar to Mathematica).
It is intended to be a fully compatible replacement for the standard Python interpreter while offering vastly improved functionality and flexibility.
Related Posts