The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
Python FAQ: What is Python, what is it used for, and why was it created in the first place?
By Guest on 7th November 2022 02:02:20 AM | Syntax: PYTHON | Views: 206



New Paste New paste | Download Paste Download | Toggle Line Numbers Show/Hide line no. | Copy Paste Copy text to clipboard
  1. What is Python?
  2. ---------------
  3.  
  4. Python is an interpreted, interactive, object-oriented programming
  5. language.  It incorporates modules, exceptions, dynamic typing, very
  6. high level dynamic data types, and classes.  It supports multiple
  7. programming paradigms beyond object-oriented programming, such as
  8. procedural and functional programming. Python combines remarkable
  9. power with very clear syntax. It has interfaces to many system calls
  10. and libraries, as well as to various window systems, and is extensible
  11. in C or C++.  It is also usable as an extension language for
  12. applications that need a programmable interface. Finally, Python is
  13. portable: it runs on many Unix variants including Linux and macOS,
  14. and on Windows.
  15.  
  16. What is Python? Why Python is So Popular?
  17. https://www.youtube.com/watch?v=Y8Tko2YC5hA
  18.  
  19. [inline]
  20.  
  21. Why was Python created in the first place?
  22. ------------------------------------------
  23.  
  24. Here's a *very* brief summary of what started it all, written by Guido
  25. van Rossum:
  26.  
  27.   I had extensive experience with implementing an interpreted
  28.   language in the ABC group at CWI, and from working with this group
  29.   I had learned a lot about language design.  This is the origin of
  30.   many Python features, including the use of indentation for
  31.   statement grouping and the inclusion of very-high-level data types
  32.   (although the details are all different in Python).
  33.  
  34.   I had a number of gripes about the ABC language, but also liked
  35.   many of its features.  It was impossible to extend the ABC language
  36.   (or its implementation) to remedy my complaints -- in fact its lack
  37.   of extensibility was one of its biggest problems.  I had some
  38.   experience with using Modula-2+ and talked with the designers of
  39.   Modula-3 and read the Modula-3 report. Modula-3 is the origin of
  40.   the syntax and semantics used for exceptions, and some other Python
  41.   features.
  42.  
  43.   I was working in the Amoeba distributed operating system group at
  44.   CWI.  We needed a better way to do system administration than by
  45.   writing either C programs or Bourne shell scripts, since Amoeba had
  46.   its own system call interface which wasn't easily accessible from
  47.    the Bourne shell.  My experience with error handling in Amoeba made
  48.    me acutely aware of the importance of exceptions as a programming
  49.    language feature.
  50.  
  51.    It occurred to me that a scripting language with a syntax like ABC
  52.    but with access to the Amoeba system calls would fill the need.  I
  53.    realized that it would be foolish to write an Amoeba-specific
  54.    language, so I decided that I needed a language that was generally
  55.    extensible.
  56.  
  57.    During the 1989 Christmas holidays, I had a lot of time on my hand,
  58.    so I decided to give it a try.  During the next year, while still
  59.    mostly working on it in my own time, Python was used in the Amoeba
  60.    project with increasing success, and the feedback from colleagues
  61.    made me add many early improvements.
  62.  
  63.    In February 1991, after just over a year of development, I decided
  64.    to post to USENET.  The rest is in the "Misc/HISTORY" file.
  65.  
  66. Python for Beginners - Learn Python in 1 Hour
  67. https://www.youtube.com/watch?v=kqtD5dpn9C8
  68.  
  69. What is Python good for?
  70. ------------------------
  71.  
  72. Python is a high-level general-purpose programming language that can
  73. be applied to many different classes of problems.
  74.  
  75. The language comes with a large standard library that covers areas
  76. such as string processing (regular expressions, Unicode, calculating
  77. differences between files), internet protocols (HTTP, FTP, SMTP, XML-
  78. RPC, POP, IMAP), software engineering (unit testing, logging,
  79. profiling, parsing Python code), and operating system interfaces
  80. (system calls, filesystems, TCP/IP sockets).  Look at the table of
  81. contents for The Python Standard Library to get an idea of what's
  82. available.  A wide variety of third-party extensions are also
  83. available.  Consult the Python Package Index to find packages of
  84. interest to you.
  85.  




  86.  
  87. How Long Does It Take to Learn Python? (And Get a Job) -- embed
















Python software and documentation are licensed under the PSF License Agreement.
Starting with Python 3.8.6, examples, recipes, and other code in the documentation are dual licensed under the PSF License Agreement and the Zero-Clause BSD license.
Some software incorporated into Python is under different licenses. The licenses are listed with code falling under that license. See Licenses and Acknowledgements for Incorporated Software for an incomplete list of these licenses.

Python and it's documentation is:
Copyright © 2001-2022 Python Software Foundation. All rights reserved.
Copyright © 2000 BeOpen.com. All rights reserved.
Copyright © 1995-2000 Corporation for National Research Initiatives. All rights reserved.
Copyright © 1991-1995 Stichting Mathematisch Centrum. All rights reserved.

See History and License for complete license and permissions information:
https://docs.python.org/3/license.html#psf-license
  • Recent Pastes