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