Hello world in Pycharm
In the previous tutorial, we have installed python and
First “Hello world” Program:
- Open Pycharm and click on “Create New Project”
-
Provide the location where you want to create the project. Pycharm will find the python interpreter you have installed earlier.
-
Right click on project name => New => Python File
Give name “hello_world” and click OK
-
Write simple program -> print(“Hello World!!!”)
-
Go to Run=> Run and then select the file name
-
Check the output into the run console. We can see the output “Hello World!!!”
Now, what if you don’t have
Go to the directory where the python file is located. Then run
Python hello_world.py
It will produce the output as below
Apart from this, you can also use python in interactive mode as below:
Congratulations!!!!
You have successfully
That's all for this topic. If you guys have any suggestions or queries, feel free to drop a comment. We would be happy to add that in our post. You can also contribute your articles by creating contributor account here.
Happy Learning 🙂
If you like the content on CodePumpkin and if you wish to do something for the community and the planet Earth, you can donate to our campaign for planting more trees at CodePumpkin Cauvery Calling Campaign.
We may not get time to plant a tree, but we can definitely donate â‚ą42 per Tree.
About the Author
Tags: python, Python Tutorials
Comments and Queries
If you want someone to read your code, please put the code inside <pre><code> and </code></pre> tags. For example:<pre><code class="java"> String foo = "bar"; </code></pre>For more information on supported HTML tags in disqus comment, click here.