# Add constants to struct module

**URL:** <https://discuss.python.org/t/add-constants-to-struct-module/26792>\
**Category:** Ideas\
**Created:** [May 15, 2023, 3:05pm UTC](https://discuss.python.org/t/add-constants-to-struct-module/26792 "2023-05-15T15:05:08Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Dutcho](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/dutcho/32/7074_2.png) [@Dutcho](https://discuss.python.org/u/Dutcho)\
**Post date:** [May 15, 2023, 4:23pm UTC](https://discuss.python.org/t/add-constants-to-struct-module/26792/7 "2023-05-15T16:23:10Z")

</div>

For making `struct` more readable, should we think along [`ctypes` path](https://discuss.python.org/t/annotation-based-sugar-for-ctypes/26579)?

---

_[View the full topic](https://discuss.python.org/t/add-constants-to-struct-module/26792)._
