# Python For Beginners

What is Python ?

* Is a Programming Language
    
* Used for Server-side Web Development
    
* Used for Scripting
    
* Used for Software Development
    

What can Python do ?

* Can connect to database systems which can read and modify the files.
    
* Can be used on server to create web applications.
    
* Can be used to handle big data and perform complex mathematics.
    

Why Python ?

* Works on different platforms (Windows, Mac, Linux ...)
    
* Simple Syntax
    
* Program can be written in fewer lines
    
* Can be treated in Procedural way, Object-oriented way or functional way.
    

Python Syntax :

* Simple and Readable.
    
* Uses new line to complete the command.
    
* Relies on indentation, using whitespace to define the scope.
    
* Scope of the loops, functions and classes are dependent on indentation.
    
* Other Programming languages use curly brackets.
    

Install Python :

\-&gt; **Windows**

* Before installing check in your PC whether Python is installed or not by running the below command in Command Line. ( Go to Windows -&gt; Run -&gt; cmd -&gt; terminal gets open)
    
* ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1716823005347/1ac56786-f866-4132-8b70-b270724ba8db.png align="center")
    

\-&gt; Mac Or Linux

* On Mac open the terminal or on Linux open the Command Line
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1716823960776/c1244d9f-6edb-46b2-bd4d-afaaec228a9b.png align="center")
    

* If it's not available then go to [https://www.python.org/](https://www.python.org/) and download latest version which is available.
    

My first Python Program

* Python is an interpreted programming language.
    
* The program can be written in a text editor and then can be placed those files into python interpreter to be executed.
    
* Python files will be saved as .py.
    
    **Program**:
    
* Write the below line in any text editor
    
* print("Hello!")
    
* and save that as hello.py
    
* Open Command Line and navigate to the directory where the file is saved and run :
    
* ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1716825719591/f9189b6e-30f5-49b5-93f6-fdbc5046342e.png align="center")
