# Python 3.13 will bring a new REPL

**URL:** <https://discourse.julialang.org/t/python-3-13-will-bring-a-new-repl/114988>\
**Category:** Offtopic\
**Created:** [May 30, 2024, 9:57pm UTC](https://discourse.julialang.org/t/python-3-13-will-bring-a-new-repl/114988 "2024-05-30T21:57:13Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![xiaoxi](https://avatars.discourse-cdn.com/v4/letter/x/a9adbd/32.png) [@xiaoxi](https://discourse.julialang.org/u/xiaoxi)\
**Post date:** [May 30, 2024, 9:57pm UTC](https://discourse.julialang.org/t/python-3-13-will-bring-a-new-repl/114988/1 "2024-05-30T21:57:13Z")

</div>

It seems that the Julia community is not the only one improving its REPL. Among other things, Python 3.13 will bring a new REPL.

> **[The new REPL in Python 3.13](https://treyhunner.com/2024/05/my-favorite-python-3-dot-13-feature/)**
>
> Python 3.13 just hit feature freeze with the first beta release today. Just before the feature freeze, a shiny new feature was added: a brand new …

---

<div class="post-metadata">

**Author:** ![Benny](https://avatars.discourse-cdn.com/v4/letter/b/49beb7/32.png) [@Benny](https://discourse.julialang.org/u/Benny)\
**Post date:** [May 31, 2024, 1:09am UTC](https://discourse.julialang.org/t/python-3-13-will-bring-a-new-repl/114988/2 "2024-05-31T01:09:31Z")

</div>

Yet another good example of third party development eventually making its mark

---

<div class="post-metadata">

**Author:** ![co1emi11er](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/co1emi11er/32/206849_2.png) [@co1emi11er](https://discourse.julialang.org/u/co1emi11er)\
**Post date:** [June 27, 2024, 6:15pm UTC](https://discourse.julialang.org/t/python-3-13-will-bring-a-new-repl/114988/3 "2024-06-27T18:15:50Z")

</div>

There is a new python package called [ptpython](https://github.com/prompt-toolkit/ptpython) and it is pretty great. There are some features like the autocomplete that I wish the Julia REPL had.

 ![image](https://global.discourse-cdn.com/julialang/original/3X/9/1/91ebabb63fe2093158eeed9faa2fa823e6db2da4.png)

---

<div class="post-metadata">

**Author:** ![mrufsvold](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mrufsvold/32/31600_2.png) [@mrufsvold](https://discourse.julialang.org/u/mrufsvold)\
**Post date:** [June 28, 2024, 11:26am UTC](https://discourse.julialang.org/t/python-3-13-will-bring-a-new-repl/114988/4 "2024-06-28T11:26:30Z")

</div>

Julia REPL does have auto complete! Type half a symbol and hit `TAB`.

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [June 28, 2024, 11:39am UTC](https://discourse.julialang.org/t/python-3-13-will-bring-a-new-repl/114988/5 "2024-06-28T11:39:43Z")

</div>

Maybe Cole means the drop-down menu, like you’d have if you use IJulia:

![image](https://global.discourse-cdn.com/julialang/original/3X/3/4/34bbf6f0a47ebb5435f7fd96ad97ecd97ae4cd5c.png)

I’ve feel like I’ve seen discussions (maybe even a prototype) about this, maybe from @tecosaur ?

---

<div class="post-metadata">

**Author:** ![co1emi11er](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/co1emi11er/32/206849_2.png) [@co1emi11er](https://discourse.julialang.org/u/co1emi11er)\
**Post date:** [June 28, 2024, 2:24pm UTC](https://discourse.julialang.org/t/python-3-13-will-bring-a-new-repl/114988/6 "2024-06-28T14:24:39Z")

</div>

Correct. Yeah when you use ptpython, you not only get drop down that you can arrow through and select but it pops up automatically without hitting tab. Just like an IDE.

I love the Julia REPL! I was just mentioning that this was a pretty cool feature.

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [June 28, 2024, 2:38pm UTC](https://discourse.julialang.org/t/python-3-13-will-bring-a-new-repl/114988/7 "2024-06-28T14:38:09Z")

</div>

Seems super annoying to me to have that without hitting `<TAB>` but I assume configuring whether this automatically shows up or only on tab would be easy once the functionality is there.

I hadn’t made up that mockup above, it’s here:

[https://julialang.zulipchat.com/#narrow/stream/404905-repl/topic/Safely.20changing.20terminal.20modes/near/420581109](https://julialang.zulipchat.com/#narrow/stream/404905-repl/topic/Safely.20changing.20terminal.20modes/near/420581109)

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [June 28, 2024, 2:56pm UTC](https://discourse.julialang.org/t/python-3-13-will-bring-a-new-repl/114988/8 "2024-06-28T14:56:07Z")

</div>

Isn’t it the same as ipython, and IJulia in Jupyter as shown above?

---

<div class="post-metadata">

**Author:** ![co1emi11er](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/co1emi11er/32/206849_2.png) [@co1emi11er](https://discourse.julialang.org/u/co1emi11er)\
**Post date:** [June 28, 2024, 3:06pm UTC](https://discourse.julialang.org/t/python-3-13-will-bring-a-new-repl/114988/9 "2024-06-28T15:06:24Z")

</div>

Yeah pretty much. I just haven’t ever found a way in both ipython and IJulia (in jupyterlab) to get tab completion to show up automatically like it does for me in vscode (of course using a jupyter notebook in vscode this works). You have to hit the `tab` key for it to show up in jupyterlab.

It would be a nice feature in the repl though too imo. That being the drop-down menu as well as the option for it to auto drop down.

---

<div class="post-metadata">

**Author:** ![tecosaur](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tecosaur/32/23206_2.png) [@tecosaur](https://discourse.julialang.org/u/tecosaur)\
**Post date:** [June 29, 2024, 3:43pm UTC](https://discourse.julialang.org/t/python-3-13-will-bring-a-new-repl/114988/10 "2024-06-29T15:43:39Z")

</div>

> [@nilshg](#):
>
> I’ve feel like I’ve seen discussions (maybe even a prototype) about this, maybe from @tecosaur ?

Yup, I think it’s fallen into the slack hole now, but it’s something I’ve got in mind as part of the revised REPL effort.
