Python

Python

Problem Statement:

Convert the OS Based Program into a Menu Driven Program using Python Code which will execute the required user query when the user will give the input as Text.

Introduction-

Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. Its high-level built in data structures, combined with dynamic typing and dynamic binding, make it very attractive for Rapid Application Development, as well as for use as a scripting or glue language to connect existing components together.

Python is a powerful general-purpose programming language. It is used in web development, data science, creating software prototypes, and so on. Fortunately for beginners, Python has simple easy-to-use syntax. This makes Python an excellent language to learn to program for beginners.

History of Python

The programming language Python was conceived in the late 1980s, and its implementation was started in December 1989 by Guido van Rossum at CWI  in the Netherlands as a successor to ABC capable of exception handling and interfacing with the Amoeba Operating System Van Rossum is Python's principal author, and his continuing central role in deciding the direction of Python is reflected in the title given to him by the Python community, Benevolent Dictator for Life(BDFL)  (However, van Rossum stepped down as leader on July 12, 2018. Python was named for the BBC TV show Monty Python's Flying Circus.

Python 2.0 was released on October 16, 2000, with many major new features, including a cycle-detecting garbage collector (in addition to reference counting) for memory management and support for Unicode. However, the most important change was to the development process itself, with a shift to a more transparent and community-backed process.

Python 3.0, a major, backwards-incompatible release, was released on December 32008 after a long period of testing. Many of its major features have also been backported to the backwards-compatible, while by now unsupported, Python 2.6 and 2.7.

Fields of Use of Python:

  • Web Development.
  • Game Development.
  • Machine Learning and Artificial Intelligence.
  • Data Science and Data Virtualization.
  • Desktop GUI.
  • Web Scraping Applications.
  • Business Application.
  • Audio and Video Applications.
  • CAD Applications.
  • Embedded Applications.
  • Computer Vision
  • Raspberry pi

Anaconda:

Anaconda is a free and open-source distribution of the Python and R programming languages for scientific computing, that aims to simplify package management and deployment. The distribution includes data-science packages suitable for Windows, Linux, and macOS. 

Jupyter Notebook:

Jupyter Notebook is an open-source web application that allows us to create and share documents that contain live code , equations,virtualizations and narrative text.Uses include:

  • Data cleaning and transformation.
  • Numerical Simulation.
  • Statistical Modeling.
  • Data Visualization.
  • Machine Learning.

Prerequisites:

  • Anaconda Installation.
  • Jupyter Notebook Installation.
  • Basic Knowledge about Python.
  • Installing libraries as per requirement.
  • VS Code

procedure install python

  • open the command Prompt and write python -V .This command enables us to check the version of python installed in our system
  • Next here we use python as command and open the python terminal in the command prompt. The >>> symbol is called REPL(Read Evaluate Print Loop).We use the function print() to print anything in the python terminal.
  • pip is a command that helps to install libraries in python . Like in case of Dart we use pub command to install libraries. pyttsx3 is a library that contains the speak() function and the import keyword imports the library which enables our system to speak the output.


Thank You




To view or add a comment, sign in

More articles by DEEPAK KAUSHIK

Others also viewed

Explore content categories