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