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