learnbyexample@programming.dev to Python@programming.devEnglish · 1 year 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 · 1 year agomessage-square5fedilinkfile-text
minus-squareZeusbottomlinkfedilinkEnglisharrow-up2·1 year 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.