math.pi
Supplies the floating-point constant used for half a turn in radians.
CKTIS / Python
Programming syntax, operators and concepts. Find an explanation, explore an example and return to learning.
Supplies the floating-point constant used for half a turn in radians.
Multiplies the members of an iterable beginning with an optional initial factor.
Computes the sine of an angle measured in radians.
Returns the nonnegative real square root of its argument.
Computes the tangent of a radian angle.
Discards the fractional part of a real number and returns its integral part.
On an ordinary instance the attribute references its class object.
The entry method runs before the with body and its result binds to the as target.
An equality method can compare its own data or return NotImplemented for an unsupported type.
After successful entry the exit method closes the context and can determine whether an exception propagates.
The method implements strict greater-than comparison and may decline with NotImplemented.
The initializer sets state on an already created instance and must return None.
The iteration method returns an iterator over the object’s elements.
The method defines less-than-or-equal and can express a partial order.
The strict less-than method supplies the comparison used by sorting.
The representation method returns a string intended to identify an object unambiguously during debugging.
The string conversion method supplies a readable display form of an object.
Creates a callable object that later retrieves items from its operand.
pstats.Stats analyzes profiler data by sorting function statistics and producing reports. It does not measure execution itself; it accepts a saved profile or a profiler object.
pstats.Stats.stats is a dictionary of profiling data keyed by filename, line number, and function name. Read call counts, internal time, cumulative time, and caller information directly instead of parsing a text report.
Compiles a regular expression into a reusable pattern object.
Quotes regular-expression metacharacters so that input is matched literally inside a pattern.
Collects all non-overlapping matches, changing the result shape according to capturing groups.
Yields match objects for successive non-overlapping matches.