Tuesday, 12 June 2018

Intro Python P1 + Run Python 1st Program

Python?

It was created in 1991 by Guido van Rossum .

use :

  1. web development (server-side)
  2. Data Mining And Analytics.  
  3. graphics 
  4. System S/w
  5. software development
  6. mathematics
  7. system scripting.
  8. AI Application
  9. Embedded Development  
 Some features :
  1. Python works on different platforms (Windows, Mac, Linux, Raspberry Pi, etc).
  2. Python has a simple syntax similar to the English language.
  3. Python has syntax that allows developers to write programs with fewer lines than some other programming languages.
  4. Python runs on an interpreter system, meaning that code can be executed as soon as it is written. This means that prototyping can be very quick.
  5. Python can be treated in a procedural way, an object-orientated way or a functional way.
 Let's Start...... :)  

Run Program

$python File.py

Here Command Python , file name is the any File Name..

Run  Steps :
  open Any Editor And Type  :
                                    
                                    print("Hello, MAC+tech Word!")

Save any name ex mypro1.py

Type python  mypro1.py

O/U :
 Hello, MAC+tech Word!
    





1 comment:

  1. That's why marketing and advertising that you simply applicable exploration previous to publishing. It will be easy to write down superior write-up that way. Animated Logo Design

    ReplyDelete

Thank You!!!

create and activate a Python virtual environment on macOS and Windows

create and activate a Python virtual environment on macOS and Windows: Prerequisites: Python 3: Ensure you have Python 3 installed. You ca...