How you will create your first program in Python?

PythonServer Side ProgrammingProgramming

You can use any Python aware editor to write Python script. Standard distribution of Python comes with IDLE module which is an integrated development and learning environment. Start IDLE and open a new file from file menu. In the editor page enter

print (“Hello World!”)

Save the script as hello.py and execute it from Run menu to get Hello world message on console. This is your first program. It can also be run from command prompt

c:\user>python hello.py
raja
Published on 29-Dec-2017 10:39:17
Advertisements