Skip to main content

Python Programming Tutorial 1 || Learn How To Download Python and Your First Hello World Program

Welcome


So today here you are going to learn how to download python 3.x and Run your very first python program. 




Download Python and Print Hello World
Download Python and Print Hello World


Getting Started


Python is a high-level programming language and is widely being used by many programmers. Python was mainly developed for emphasis on code readability, and its syntax allows programmers to express concepts in fewer lines of code. Python is a programming language that lets developers work quickly and integrate systems more efficiently.

Downloading Python


Unlike Windows OS, many of the Linux OS and macOS python comes pre-installed.
To download python you could go on python.org and download python. But what I recommend is downloading python from Anaconda Distribution, which would not only provide you python but also gives you Sypder IDE, Jupyter Notebook, and many different python libraries. After you visit Anaconda Distribution scroll down to the installer menu



Once you see the above menu select your OS and Download Python 3.7 (or Python 3.x). Once The installer gets downloaded you could easily install python with the installer.

For Windows:

Now Open the Anaconda Prompt which comes with Anaconda and Run the below command to check whether Python is properly installed or not.



For Linux:

Open Your Terminal and type the below command:


For macOS:




How To Run Python Program


If You have downloaded python from Anaconda Distributions you could use either Spyder IDE or Jupyter Notebook to run python program else if you have downloaded python from python.org then you could use python IDLE else you can run the python program in your command line or terminal.

Let's make a Hello World Program:

Run the below program to see the output





Instead of printing Hello World you can whatever you want to like you can print your name.
For Example, your name is Amit. Write Amit instead of Hello World between the quotations.

Click on the Thumbnail below to watch the full tutorial in Hindi.







Comments

Popular posts from this blog

Variables and Datatype in Python || Python Programming Tutorial 2

Welcome So today here you are going to learn about variables and different data types in python. Variables and Datatype in Python Variables and Datatypes Python is completely object-oriented and is not "statically typed", So you need not declare variables or there type before using them. Remember that every variable in python is an object. Now, let's learn about some basic data types. Numbers Python supports two types of numbers: integers and floating types ( It also supports complex numbers which would not be included in this tutorial) The Syntax for using an integer is: (Run the code to see the output) And for using floating-point numbers you may use the below syntax: Strings For making strings in python we either use double or single quotes. For Example: Note: Remember one thing you could add two numbers or strings, but you could not add a number with a string, however multiplication of a string with a number can ...

The Games Developed By Me || Games Of Gautam Sharma

    The Games Developed By Me || Games Of Gautam Sharma Hello Guys This is Gautam Sharma And In The Video Below I have Shown some Of The Games Developed By Me. Before This I have Posted About One of my game Supper Shooter. Now I have Shown Some Other games Also including it.                                                                 Watch The Full Video Powered by Hack The Tech