First python hello world
Posted on 31 May, 2019 by Administrator
1. What is Python:
Python is an Interpreter Language – it directly executes programming without converting them into an object code or machine code like compiler do ( interpreter like php)
Currently, Python has 2 main branches: 2.x and 3.x. At branch 2.x
stopped growing and is standing at version 2.7. Branch Python 3.x is still developing.
Python website official: www.python.org
Python supports most platforms and is easy to find on some operating systems like Mac OS, Windows, Linux
Link download: https://www.python.org/downloads/
To know if your system has Python installed, can enter command line screen and type:
$ python --version
If python is installed, it will display version information python. If an error occurs, it means you have not installed it yet.
By using a text editor, you can write code python or can use more advanced tools (IDE) The IDE usually supports more command line parser, debug ... in scope
For professional or community you can use Pycharm IDE: https://www.jetbrains.com/pycharm/
For opensource you can use Apatana Studio: http://www.aptana.com/ vs Pydev
Watch tutorial to know more how to install Aptana vs Pydev in windows
In this tutorial I aim to implement it python with the Aptana and I am using python3
4. First hello world program
Create a file name helloworld.py and enter command like below
print is the most basic command to export a variable (usually screen)
Then, go to the command line screen, move to the folder containing this file and type.
If you see the Hello World text, you have finished writing the first python application. You can code via my IDE online below here
New blog posts
8 June, 2019 by Administrator
1. String data type All programming...
2 June, 2019 by Administrator
1. Value and type Value is one of...
31 May, 2019 by Administrator
1. What is Python: Python is an Interpreter...