Python built-in functions

Source: Internet
Author: User

Built-in functions

1. Built-in function: All (): Determines the iteration of an object, and if it is true, returns True.

2. Built-in function: any (): To determine a piece of an iterative object, as long as there is a true value, it will return the truth.

3. Built-in function: ASCII (): Returns a string that converts the calling object of a memory into a string print.

4. Built-in function: Bin (): Converts the 10 binary number to 2 binary.

5. Built-in function: BOOL (): Judging the true and false, can judge the dictionary list and so on.

6. Built-in function: ByteArray: Modify the binary to see the position of the character in the ASCLL Code table, and replace the character with the position in the table.

7. Built-in function: Callable (): Determines whether it can be executed.

8. Built-in function: Chr (): Find the character of the ASCLL code list corresponding to the number.

8. Built-in function: Ord (): Find the number corresponding to the ASCLL code character.

9. Built-in function: Classmethod (): Class method.

built-in functions: Compile (): You can convert a string to executable code

one. Built-in Functions: Class (): plural

built-in functions: delattr (): slightly.

built-in functions: Dict (): Generate dictionaries.

built-in functions: Dir (): See how a variable is used.

built-in functions: Divmod (): Returns the remainder.

built-in functions: Enumerate (): Arranges ordinal numbers by rows.

The built-in function: eval (): Compiles a string into a dictionary.

built-in functions: EXEC (): A string can be executed into code.

built-in functions: Filter (): A set of data filtering out the desired.

built-in functions: Map (): corresponds to each value that is passed in and is processed.

The external function: Functools.reduce (): Corresponds to the value that is passed in and is added to the processing.

The built-in function: Frozenset: Generates an immutable collection similar to a tuple.

The built-in function: GetAttr (): slightly.

built-in functions: Globals (): Returns key and Valiu for all variables in the file.

built-in variables: hash (): Prints out the mapping values in the hash algorithm.

. Built-In Parameters: Help (): View assistance

. Built-in Parameters: Hex (): Converts a number to 16 binary.

Built-in function: ID (): Returns the memory address.

built-in functions: input (): User interaction program.

The built-in function: Int (): Converts to an integer.

built-in functions: Isinstance (): is used to determine whether an object is a known type.

built-in functions: Issubclass (): slightly.

The built-in function: iter: the iterator.

built-in functions: Len (): Data length.

built-in functions: Locals (): Prints out local variables.

intrinsic function: Max: Returns the maximum value in the list.

PNS. Internal variable: min: Returns the lowest value in the list.

A. Built-in function: Memoryview (): slightly.

The built-in function: Next (): Segment execution is equivalent to __next__ within an iterator.

max. Built-in function object (): slightly.

A. Built-in function Oct (): Numbers are converted to octal.

The built-in function: POW (): Returns multiple parties.

built-in functions: print (): Printed output.

The built-in function: Property (): slightly.

built-in functions: Range (): Number of numbers to how many.

The built-in function: Repr (): Represents an object with a string.

built-in functions: Reversed (): reverse meaning, same as reverse in list.

built-in functions: round (): Specifies the number of digits to the right of the reserved number.

The built-in function: Set (): Creates a collection.

built-in functions: setattr: slightly.

Wuyi. Built-in functions: Slice (): a slice of a numeric range.

The built-in function: Sorted (): Arranges unordered groups such as dictionaries.

The built-in function: Staticmethod (): slightly.

The built-in function: sum: Sums a list.

built-in functions: Super (): slightly.

The built-in function: Tuple (): Creates an empty tuple.

The built-in function: Type (): view type.

The built-in function: VARs: Returns all the system names of an object.

built-in functions: Zip (): Combines two sets of list data.

built-in functions: __import__ (): Modules added, useful for formatting characters.

Python built-in functions

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.