arunslb123's repositories
item_01-Know Which Version of Python You Are Using.ipynb
item_02-Follow the PEP 8 Style Guide.ipynb
item_03-Know the Differences Between bytes, str, and unicode.ipynb
item_04-Write Helper Functions Instead of Complex Expressions.ipynb
item_05-Know How to Slice Sequences.ipynb
item_06-Avoid Using start, end, and stride in a Single Slice.ipynb
item_07-Use List Comprehensions Instead of map and filter.ipynb
item_08-Avoid More Than Two Expressions in List Comprehensions.ipynb
item_09-Consider Generator Expressions for Large Comprehensions.ipynb
item_10-Prefer enumerate Over range.ipynb
item_11-Use zip to Process Iterators in Parallel.ipynb
item_12-Avoid else Blocks After for and while Loops.ipynb
item_13-Take Advantage of Each Block in try except else finally.ipynb
item_14-Prefer Exceptions to Returning None.ipynb
item_15-Know How Closures Interact with Variable Scope.ipynb
item_16-Consider Generators Instead of Returning Lists.ipynb
item_17-Be Defensive When Iterating Over Arguments.ipynb
item_18-Reduce Visual Noise with Variable Positional Arguments.ipynb
item_19-Provide Optional Behavior with Keyword Arguments.ipynb
item_20-Use None and Docstrings to Specify Dynamic Default Arguments.ipynb
item_21-Enforce Clarity with Keyword-Only Arguments.ipynb
item_22-Prefer Helper Classes Over Bookkeeping with Dictionaries and Tuples.ipynb
item_23-Accept Functions for Simple Interfaces Instead of Classes.ipynb
item_24-Use @classmethod Polymorphism to Construct Objects Generically.ipynb
item_25-Initialize Parent Classes with super.ipynb
item_26-Use Multiple Inheritance Only for Mix-in Utility Classes.ipynb
item_27-Prefer Public Attributes Over Private Ones.ipynb
item_28-Inherit from for Custom Container Types.ipynb
item_29-Use Plain Attributes Instead of Get and Set Methods.ipynb
item_30-Consider @property Instead of Refactoring Attributes.ipynb
item_31-Use Descriptors for Reusable @property Methods.ipynb
item_32-Use __getattr__, __getattribute__, and __setattr__ for Lazy Attributes.ipynb
item_33-Validate Subclasses with Metaclasses.ipynb
item_34-Register Class Existence with Metaclasses.ipynb
item_35-Annotate Class Attributes with Metaclasses.ipynb
item_36-Use subprocess to Manage Child Processes.ipynb
item_37-Use Threads for Blocking IO, Avoid for Parallelism.ipynb
item_38-Use Lock to Prevent Data Races in Threads.ipynb
item_39-Use Queue to Coordinate Work Between Threads.ipynb
item_40-Consider Coroutines to Run Many Functions Concurrently.ipynb
item_41-Consider concurrent.futures for True Parallelism.ipynb
item_42-Define Function Decorators with functools.wraps.ipynb
item_43-Consider contextlib and with Statements for Reusable try_finally Behavior.ipynb
item_44-Make pickle Reliable with copyreg.ipynb
item_45-Use datetime Instead of time for Local Clocks.ipynb
item_46-Use Built-in Algorithms and Data Structures.ipynb
item_47-Use decimal When Precision Is Paramount.ipynb
item_48-Know Where to Find Community-Built Modules.ipynb
item_49-Write Docstrings for Every Function, Class, and Module.ipynb
item_50-Use Packages to Organize Modules and Provide Stable APIs.ipynb
item_51-Define a Root Exception to Insulate Callers from APIs.ipynb
item_54-Consider Module-Scoped Code to Configure Deployment Environments.ipynb
item_55-Use repr Strings for Debugging Output.ipynb
item_56-Test Everything with unittest.ipynb
item_58-Profile Before Optimizing.ipynb
item_59-Use tracemalloc to Understand Memory Usage and Leaks.ipynb