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