Level 1 : What is the purpose of the functools module in Python?

Author: IndraD | Tags: function | 1859+ Python FAQs | Share
higher-order-function | string-slicing | array | data-type-conversions | creating-custom-modules | condition | counter-function | global-variable | datetime | docstring | dictionary-comprehensions | encoding | defining-functions | else | feature | exception-handling | boolean-masking | exception-handling | datatype | class-and-object | filter | function-argument | constructor | command-line-parsing | data-structure | error-handling | implementation | generator | data-types | max-min | bitwise-operator | lists | functions | print | identity-operator | access-modifier | odd-number | arithmetic-expression | default-mutable-argument | parsing-with-strptime | indexing:-loc-vs-iloc | collection | polymorphism | operator-overloading | built-in-function | list | precedence | lambda | regular-expression | tuple | multithreading | recurssion | string | data-structure | lambda-function | boolean | iterator | set-operation | math | control-statement | function | asyncio | collections | data-type | print-statement | memory-management | application | handling-missing-values-(fillna,-dropna) | syntax | class-and-inheritance | formatting-with-strftime | raise-statement | multiple-inheritance | file-handling | file_handling | default-arguments | class-decorators | arbitrary-arguments-(*args,-**kwargs) | sum() | built-in-modules | recursion | string-concatenation | error-handling | sorting | creating-and-starting-threads | reading-and-writing-large-files-efficiently | swapping | input-function | integers | assert | sets | postfix | quantifiers-(*,-+,-?,-{}) | built-in | list-slicing | dictionaries | boolean-and-non-boolean | raise | immutability | logical-operator | regex | method | control-flow | round | namedtuple | split | complex | fabs-function | id-function | data_structure | design-principle | loop | slice | __all__-attribute | shallow-copy | list-mutation | built-in-function | expand-tab | conditional-statement | round-function | call | data-structures | invalid-list | list-method | logical-operator | dataframe-and-series-objects | min-max-function | control-flow | list-comprehension | mysql | else-statement | test-discovery | input-function | deep-copy | mapping-function | list-vs-tuple | data-structures-in-python | string-methods | counter | list-methods-and-slicing | __future__ | staticmethod | matrix-list-comprehension | time-series-with-pandas | multiprocessing | global-variable | multiple-except-blocks | floating-point-precision | matplotlib | inherit | sorting-and-ranking | functional-programming | python-repl | joining-and-merging-dataframes | dicts | escape-operator | asyncio-module | min-function | difference-between-threads-and-processes | single-inheritance | literal-characters-and-special-characters | yield | nested-loop | loop-control-statements | stack | for | software-design | using-map()-for-transformations | loops | pep | working-with-binary-files-(rb,-wb) | exponentiation | virtual-environment | dictionary-methods | while-loop | using-else-and-finally | destructor | frozenset | introduction-to-python | debugging | attribute | comparison | update | why-use-multiprocessing-over-threading?-(gil) | iterable | encapsulation | sys | operator-and | bitwise-operator | logical-operators | map-function | datetime.date,-datetime.time,-datetime.datetime | operator-or | membership-operators-(in,-not-in) | goto-function | string-manipulation | threading | class | directory-operations | binary-operation | type-conversion-and-casting | benefit | assignment-operator | reading:-read(),-readline(),-readlines() | version | lambdas | exception | while-and-for-loop | thread-safe-data-structures-(queue.queue) | walking-through-directories-using-os.walk() | precedence-and-associativity | context-manager | virtual-environment | using-the-threading-module | file-handling | rollback | dictionary | comprehension | copy | using-os-and-pathlib-modules | lambda-functions | list-comprehension | data-type | list-operation | filtering-and-indexing | async | name-mangling | list-comprehensions | statement | match | conditional-statement | methods | __init_subclass__ | list,-set,-and-dictionary-comprehensions | thread-synchronization | method-overloading | mutable | sorted | loop-control | functional-programming | indentation | math-copysign | global | introduction-to-multiprocessing | while-else-loop | tuple-unpacking | zip | return-statement | descriptors | decimal | reading-and-writing-files | strings | complex-number | arithmetic-operation | generators | decorator | enumerate() | using-join()-and-is_alive()-methods | pass | syntax-error | syntax-error | module | oops | conversion | zfill-function | python-module | choice | pickling--unpickling | floats | mathematics | touples | python_version | string-slicing | basic | tuple-methods | error | operators | memory | compute | python-operators | mathematical-function | generators-in-python | thread | working-with-dates-and-times | regular-expressions | unit-testing | using-lists-as-stacks | with-statement | logical-operation | slicing | format | conditional-statements | indexing | type-conversion | scientific-notation | file | managing-directories-with-os-and-shutil | filter-function | magic-method | expression | multiple-inheritance | keyword | while-loops | package-management | intering | comment | append | iterators | anchors-(^,-$) | identity-operator | aggregating-data-with-functools.reduce() | sys-module | range | join | opening-files-(open()) | sum-function | advanced-file-operations | key-value-pairs | type-conversion | object-attribute | operator | pseudocode | overriding-methods | namespace | center | using-assertions-(assertequal,-assertraises) | working-with-file-paths | overflow | bitwise | booleans | random | function-and-scope | python-django | python-history | gil | turtle | global-keyword | classes | class-and-instance-variable | binary | assignment-operators | string-method | set | oop | zip-function | introduction-to-threads | string-iteration | variable | factorial-function | objects | identifier | head-and-tail | numpy | import-method | inheritance | integer | interpreter | formal-and-actual-parameter | operations | list-indexing | string-formatting | python | input | static-method | init | syntaxerror | pandas | string-formatting | writing:-write(),-writelines() | string-method | working-with-temporary-files-using-tempfile | parameter | numeric | heap-memory | int | installation | python-syntax-and-structure | random-function | type_conversion | immutable-data-type | tuples | list-join | typeerror | using-yield-in-functions | library | identity-operators-(is,-is-not) | operand | def | version-check | matrix ...