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