Skip to main content
Home
  • Tutorials
  • SEO
  • AI
    • How to write an AI prompt
    • GenAI Roadmap for Beginners
  • Crypto
  • Web
    • Sample resume
    • Resume builder
    • Download movies for free
    • Download paid sotware for free
  • Python
  • langchain
  • HTML
  • CSS
  • JavaScript
  • Algorithm
  • DSA
  • PHP
  • Docker

Breadcrumb

  1. Home

Python

Python is an interpreted, object-oriented, high-level programming language.

Python is a case-sensitive by Nature.

Python Software Foundation is an organization which is behind the Python.

Python used  most in

  • Web development.
  • Desktop GUIs.
  • AI and machine learning.
  • Data Science.
  • Game Development.

Python Features

1. Python allows you to assign values to multiple variables in one line

Example: x, y, z = "Orange", "Banana", "Cherry"

Python Interpreter

Interpreter reads Python programs and convert into machine instructions;

Python installer bundled with  python interpreter and IDE .

install the Python interpreter on your computer.

 

Python Launcher

The Python launcher is a feature which track all Python version installed in machine  and  handle to execute program of different Python versions.

 

how to check Python launcher installed or not

From the command-line  type 

C:\Users\manoj>py

Python 3.10.1 (tags/v3.10.1:2cd268a, Dec 6 2021, 19:10:37) [MSC v.1929 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>>

 

You should find that the latest version of Python you have installed

If multiple versions of Python installed try with specific version

C:\Users\manoj>py -2.7
Requested Python version (2.9) is not installed

If you see the following error, you do not have the launcher installed:

'py' is not recognized as an internal or external command, operable program or batch file.

key benefit: a single launcher can support multiple Python versions at the same time.

how to check pip installed or not

From the command-line  type 

C:\Users\manoj>pip --verion
C:\Users\manoj>pip --version pip 21.2.4 from C:\Users\manoj\AppData\Local\Programs\Python\Python310\lib\site-packages\pip (python 3.10)

IPython: Interactive Python

Frequently Asked Questions

Q1. What is Python?
Python is a class based high level object oriented programming language.
Q1. Why name Python?
In the year 1991, James Gosling and his Team start a project. Their Team name was Green Team and from here Python history began. Inital name of the Python is green talk with file .gt extension, further rename to OAK. Because OAK is the national tree of many countries (USA, FRANCE etc.) also there is a company registered with OAK name. So they start searching a unique name which does not exist and one day when they are in Indonesia island they ordered coffee a coffee got an idea to rename OAK to Python So, he discussed with their team member and they also like this name So, later renamed to Python with coffee
Q2. Syntax of Python comes from which language?
The syntax is mostly derived from C and C++ .
Q2. Why learn Python language?
  1. Simple and easy to learn .
  2. Open source .
  3. Plateform independent .
  4. Secure .
  5. Embeded .
  6. Compiled and intrepreted .
  7. Roboust .
  8. Large library and framworks .
Q3. In which language is a Python interpreter written?
Python interpreter is written in C. CPython is that Python implementation that is done in the C language
Q4. Write once, run anywhere(WORA) means?
Bytecode code can be run in any plateform like windows, linux, mac, mobiles etc.
Q5. What apparoach compiler does follow to execute a program?
Python compiler executes the code from top to bottom.

Book navigation

  • Code Standards in Python
  • Installing Python
  • Python Classes
  • Python Conditional structure
  • Python Data Types
  • Python History
  • Python Loops
  • Python Variables
  • Python functions
  • Working with Files
  • Python Comments
  • Configure Python with VS Code
RSS feed
Section
  • Home
  • Features
  • Pricing
  • FAQs
  • About
About
  • Advertise With Us
  • Disclaimer
  • About Us
  • Contact Us
  • Privacy Policy
  • Terms & Conditions
  • Sitemap
Section
  • Home
  • Features
  • Pricing
  • FAQs
  • About
Newsletter signup
The subscriber's email address.
Manage your newsletter subscriptions
Select the newsletter(s) to which you want to subscribe.
Stay informed - subscribe to our newsletter.
Manage existing

© 2022 - 2024 techbrushup.com. All rights reserved.