# Python, get the package, namespace and key of an unreal.Text

**URL:** <https://forums.unrealengine.com/t/python-get-the-package-namespace-and-key-of-an-unreal-text/1264234>\
**Category:** Editor Scripting\
**Tags:** unreal-engine, question\
**Created:** [August 17, 2023, 7:16pm UTC](https://forums.unrealengine.com/t/python-get-the-package-namespace-and-key-of-an-unreal-text/1264234 "2023-08-17T19:16:01Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![AreWeGaming](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arewegaming/32/1174860_2.png) [@AreWeGaming](https://forums.unrealengine.com/u/AreWeGaming)\
**Post date:** [August 18, 2023, 8:19pm UTC](https://forums.unrealengine.com/t/python-get-the-package-namespace-and-key-of-an-unreal-text/1264234/4 "2023-08-18T20:19:47Z")

</div>

> [@How to show Input Key in Text / String](https://forums.unrealengine.com/t/how-to-show-input-key-in-text-string/311358):
>
> I want to show “Press E to interact” as a text, but instead of the “E” I want to display the actual mapped button for that specific input. How do I create a text or string like that?

---

_[View the full topic](https://forums.unrealengine.com/t/python-get-the-package-namespace-and-key-of-an-unreal-text/1264234)._
