This repository contains code I am writing whilst going through Luciano Ramalho's "Fluent Python" book.
french_deck.py
a Python class representing a french deck of cards, highlighting the power of Python.vector.py
a Python class representing a vector, implementation of special methods.
listcomps.py
a Python code snippet used to visualise list comprehension in Python.gen_exps.py
a Python code snippet showing how to use generator expressions.tuples_lists.py
a Python code snippet demonstrating the uses of tuples and lists in Python.arrays_queues.py
a Python code snippet demonstrating when to use arrays and queues, and why in Python.
dictionaries.py
a Python code snipper used to show some of the features of dictionaries in Python.sets.py
a Python code snippet to show some of the features of the widely under used set type.
text_vs_bytes.py
a Python code snippet to show the difference between text and bytes in Python.
functions.py
a Python code snippet to show Python treating functions as objects, everything in Python is an object.
design_patterns.py
a Python code snippet showing the design patters which can be used with first-class functions in Python.design_patterns_2.py
a Python code snippet showing the design patters which can be used with first-class functions in Python.
decorators_101.py
a Python code snippet showing the behaviour and usefulness of decorators in the Python language.clockdeco_demo.py
a Python code snippet shwoing an example of a decorator function in action.clockdeco2.py
a Python code snipper showing another default library decorator in action.
obj_ref_mut_recy.py
a Python code snippet showing some of the contents covered in this chapter.
vector2d_v0.py
a Python class detailing Python objects using coded examples.private_protected.py
a Python code snippet showing protected and private variables in Python.
10.py
a Python code snippet showcasing "sequence hacking, hashing and slicing" in Python.
interfaces_protocols.py
a Python code snippet covering some of the topics of this chapter.
inheritance.py
a Python code snippet showing some of the inheritance features of Python.
op_overloading.py
A python code snippet highlighting some of the operator overloading concepts in Python.
sequences.py
A Python code snippet detailing some of the iteration specificities of Python.