1help()
2# If this is your first time using Python, you should definitely check out
3# the tutorial on the Internet at https://docs.python.org/3.8/tutorial/.
4
5# Enter the name of any module, keyword, or topic to get help on writing
6# Python programs and using Python modules. To quit this help utility and
7# return to the interpreter, just type "quit".
8
9# To get a list of available modules, keywords, symbols, or topics, type
10# "modules", "keywords", "symbols", or "topics". Each module also comes
11# with a one-line summary of what it does; to list the modules whose name
12# or summary contain a given string such as "spam", type "modules spam".
13
14import chess
15help(chess)
16# NAME
17# chess
18#
19# DESCRIPTION
20# A pure Python chess library with move generation and validation, Polyglot
21# opening book probing, PGN reading and writing, Gaviota tablebase probing,
22# Syzygy tablebase probing and XBoard/UCI engine communication.
23#
24# PACKAGE CONTENTS
25# engine
26# gaviota
27# pgn
28# polyglot
29# svg
30# syzygy
31# variant
32#
33# CLASSES
34# builtins.object
35# BaseBoard
36# ...
37
38
39help("modules math")
40
41# Here is a list of modules whose name or summary contains 'math'.
42# If there are any, enter a module name to get more help.
43#
44# cmath - This module provides access to mathematical functions for complex
45# math - This module provides access to the mathematical functions
1class Helper:
2 def __init__(self):
3 '''The helper class is initialized'''
4
5 def print_help(self):
6 '''Returns the help description'''
7 print('helper description')
8
9
10help(Helper)
11help(Helper.print_help)
12