
- Python Basic Tutorial
- Python - Home
- Python - Overview
- Python - Environment Setup
- Python - Basic Syntax
- Python - Comments
- Python - Variables
- Python - Data Types
- Python - Operators
- Python - Decision Making
- Python - Loops
- Python - Numbers
- Python - Strings
- Python - Lists
- Python - Tuples
- Python - Dictionary
- Python - Date & Time
- Python - Functions
- Python - Modules
- Python - Files I/O
- Python - Exceptions
How you will create your first program in Python?
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
- Related Articles
- How you will balance your relationship with your mother and wife?
- How will you help your neighbours in case a cyclone approaches your village/town?
- How will you inspire your team if you are the Head of Marketing?
- You know that your husband is cheating on you, how you will bring him back?
- How will you convince your parents to be sincere and honest?
- How will you explain Python Operator Overloading?
- How will you explain Python namespaces in easy way?
- How will you compare namespaces in Python and C++?
- How will you handle alerts in Selenium with python?
- How do you create nested dict in Python?
- Habits that will make you Successful Early in your Life
- What will you do to make your man go crazy in love with you?
- How will you compare modules, classes and namespaces in Python?
- How does a 360-Degree Customer View Will Help You Grow Your Business?
- First CGI Program in Python

Advertisements