# Shell challenge readline usage

**URL:** <https://forum.codecrafters.io/t/shell-challenge-readline-usage/15523>\
**Category:** General\
**Created:** [November 13, 2025, 5:43am UTC](https://forum.codecrafters.io/t/shell-challenge-readline-usage/15523 "2025-11-13T05:43:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![osmium2259](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/osmium2259/32/13316_2.png) [@osmium2259](https://forum.codecrafters.io/u/osmium2259)\
**Post date:** [November 13, 2025, 5:43am UTC](https://forum.codecrafters.io/t/shell-challenge-readline-usage/15523/1 "2025-11-13T05:43:43Z")

</div>

Hi,

I am doing the Shell challenge in Python. In some stages, using the **readline** library is recommended to complete them. However, there are other stages that don’t mention readline (e.g., the History Persistence stages) that could benefit from readline’s built-in functionality. Are we allowed to use readline for these as well, if we so choose?

Thank you!

---

<div class="post-metadata">

**Author:** ![andy1li](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/andy1li/32/10_2.png) [@andy1li](https://forum.codecrafters.io/u/andy1li)\
**Post date:** [November 13, 2025, 8:02pm UTC](https://forum.codecrafters.io/t/shell-challenge-readline-usage/15523/4 "2025-11-13T20:02:14Z")

</div>

Hey @osmium2259, Yes, absolutely!

You’re welcome to use the readline library in any stage if it helps with your implementation, even in stages where it’s not explicitly mentioned. Let us know if you run into any issues!

---

<div class="post-metadata">

**Author:** ![osmium2259](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/osmium2259/32/13316_2.png) [@osmium2259](https://forum.codecrafters.io/u/osmium2259)\
**Post date:** [November 13, 2025, 10:13pm UTC](https://forum.codecrafters.io/t/shell-challenge-readline-usage/15523/6 "2025-11-13T22:13:44Z")

</div>

Great, thanks for the help!
