Level 9 : An empty class is a class that doesn't have any attributes or methods defined in it.


class class_name:
    pass

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