MENU

Fun & Interesting

Python dataclasses will save you HOURS, also featuring attrs

mCoding 936,457 lượt xem 4 years ago
Video Not Working? Fix It Now

Get rid of boilerplate writing classes using dataclasses!

In this video we learn about dataclasses and how to use them, as well as the related attrs library that dataclasses were based on.

Note: As of Python 3.10 dataclasses DO support slots.

― mCoding with James Murphy (https://mcoding.io)

Source code: https://github.com/mCodingLLC/VideosSampleCode
attrs library: https://www.attrs.org/en/stable/examples.html

SUPPORT ME ⭐
---------------------------------------------------
Patreon: https://patreon.com/mCoding
Paypal: https://www.paypal.com/donate/?hosted_button_id=VJY5SLZ8BJHEE
Other donations: https://mcoding.io/donate

BE ACTIVE IN MY COMMUNITY 😄
---------------------------------------------------
Discord: https://discord.gg/Ye9yJtZQuN
Github: https://github.com/mCodingLLC/
Reddit: https://www.reddit.com/r/mCoding/
Facebook: https://www.facebook.com/james.mcoding

Comment