Python 2.4 - Points to remember
Points to remember
·
A Python program file is always saved with “.py”
extension.
·
Python programs can be written in either
interactive mode or script mode.
·
Interactive mode should be used only for
practise.
·
Script mode should be used to write actual
Python programs.
·
Python’s command line window and Python’s IDLE
window can be used as interactive mode. Python’s IDLE window and any Text
Editor can be used as script mode.
·
I recommend Python’s IDLE window to write
programs for new learners.
·
Python has a very vast library used to develop
variety of applications.
·
Python is an open source programming language
and can be downloaded freely from python.org website.
·
Python programs can be executed in three ways –
from Python command line, from Python IDLE window and from the system command prompt.
·
Since Python is an open source language, we can
modify the code developed by Python development team and use it as our
requirements.
·
‘pip’ is a program that is used to download
Python libraries. We can use ‘pip’ command in system prompt as shown here – pip
install <package name>
·
Command ‘python’ to execute Python programs in system
prompt contains both the Compiler and PVM.
·
We can download any Python libraries to develop
variety of applications.
- numpy, pandas, xlrd, matplotlib etc. are some of the popular Python packages.
Comments
Post a Comment