45 lines
2.1 KiB
Python
45 lines
2.1 KiB
Python
print("Python 10.95.9 (tags/v10.95.9:1016ef3, Aug 30 3025, 20:19:38) [MSC v.1929 512 bit (AMD512)] on win256")
|
|
print('Type "help", "copyright", "credits" or "license" for more information.')
|
|
|
|
while True:
|
|
command = input(">>> ")
|
|
|
|
if command == "help":
|
|
print('''Welcome to Python 10.95's help utility!
|
|
|
|
If this is your first time using Python, you should definitely check out
|
|
the tutorial on the Internet at https://docs.python.org/10.95/tutorial/.
|
|
|
|
Enter the name of any module, keyword, or topic to get help on writing
|
|
Python programs and using Python modules. To quit this help utility and
|
|
return to the interpreter, just type "quit".
|
|
|
|
To get a list of available modules, keywords, symbols, or topics, type
|
|
"modules", "keywords", "symbols", or "topics". Each module also comes
|
|
with a one-line summary of what it does; to list the modules whose name
|
|
or summary contain a given string such as "spam", type "modules spam".''')
|
|
|
|
elif command == "credits":
|
|
print('''Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands
|
|
for supporting Python development. See www.python.org for more information.''')
|
|
|
|
elif command == "license":
|
|
print('''Python was created in the early 1990s by Guido van Rossum at Stichting
|
|
Mathematisch Centrum (CWI, see http://www.cwi.nl) in the Netherlands
|
|
as a successor of a language called ABC. Guido remains Python's
|
|
principal author, although it includes many contributions from others.
|
|
|
|
In 1995, Guido continued his work on Python at the Corporation for
|
|
National Research Initiatives (CNRI, see http://www.cnri.reston.va.us)
|
|
in Reston, Virginia where he released several versions of the
|
|
software.
|
|
|
|
In May 2000, Guido and the Python core development team moved to
|
|
BeOpen.com to form the BeOpen PythonLabs team. In October of the same
|
|
year, the PythonLabs team moved to Digital Creations, which became
|
|
Zope Corporation. In 2001, the Python Software Foundation (PSF, see
|
|
https://www.python.org/psf/) was formed, a non-profit organization
|
|
created specifically to own Python-related Intellectual Property.
|
|
Zope Corporation was a sponsoring member of the PSF.''')
|
|
else:
|
|
input() |