learnbyexample@programming.dev to Python@programming.devEnglish · 2 years agoPython's functools.partial() Lets You Pre-Fill A Functionthepythoncodingstack.substack.comexternal-linkmessage-square5fedilinkarrow-up114arrow-down10file-text
arrow-up114arrow-down1external-linkPython's functools.partial() Lets You Pre-Fill A Functionthepythoncodingstack.substack.comlearnbyexample@programming.dev to Python@programming.devEnglish · 2 years agomessage-square5fedilinkfile-text
minus-squareZeusbottomlinkfedilinkEnglisharrow-up2·2 years agoMy favorite usage of partial() is when I’m print()ing to a file. So helpful to keep the code readable and easy to change.
My favorite usage of partial() is when I’m print()ing to a file. So helpful to keep the code readable and easy to change.