Nowadays we can see PYTHON as one of the emerging language in the industry because of ease of use. Python is a high level language and any one can understand very easily.
PYTHON IS AN "OPEN SOURCE" and can "FREELY DOWNLOAD" from the website.
We can start our programming in less than 2 Hrs of time. because it very easy to learn and practice.
It does not require a compiler whereas it needs an interpreter.
Many tutorials are available in the web, we have given below the way we are learning PYTHON step by step.
For more info on PYTHON please visit www.python.org
Installation of Python:
Download the latest version of PYTHON file from the website.
Click here for the direct download .
Double click on the .msi file for installation with default settings
C: / PythonXYZ
where XYZ is version
while installing check this step for enabling the path
Check on Finish button to complete the installation of PYTHON.
Click on the python shell/GUI icon created on the desktop
Now we can write and check the program in the python shell.
print the hello world program
Write the code as follows
print ' hello world'
and press the enter button
We can you single quote, double quote also to print the string.
Till now we have seen output when we press the OUTPUT button .
If can change the procedure to check the output as follows
à Go
to file and open a new file.
à Save the file with an extension of .py/.pyw
à Now write basic HELLO WORLD program and check the OUTPUT by compiling or by
pressing the F5 button.
à We can see output in the GUI/SHELL window.
No comments:
Post a Comment