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