# How to code in UE4 with Python?

**URL:** <https://forums.unrealengine.com/t/how-to-code-in-ue4-with-python/136252>\
**Category:** Editor Scripting\
**Tags:** unreal-engine\
**Created:** [January 10, 2020, 3:30pm UTC](https://forums.unrealengine.com/t/how-to-code-in-ue4-with-python/136252 "2020-01-10T15:30:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_4abfcace](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_4abfcace](https://forums.unrealengine.com/u/anonymous_user_4abfcace)\
**Post date:** [January 10, 2020, 3:30pm UTC](https://forums.unrealengine.com/t/how-to-code-in-ue4-with-python/136252/1 "2020-01-10T15:30:00Z")

</div>

Hi everyone i have learned to program in Python and so after a few time i read that you can program in UE4 with Python so i wanted to ask if it is Right and if yes how can i do it and what do i excectly Need? Thank you very much!

---

<div class="post-metadata">

**Author:** ![DarkS474](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DarkS474](https://forums.unrealengine.com/u/DarkS474)\
**Post date:** [January 11, 2020, 5:34pm UTC](https://forums.unrealengine.com/t/how-to-code-in-ue4-with-python/136252/2 "2020-01-11T17:34:25Z")

</div>

[https://docs.unrealengine.com/en-US/PythonAPI/index.html](https://docs.unrealengine.com/en-US/PythonAPI/index.html)

> **[Scripting the Editor using Python](https://docs.unrealengine.com/4.27/en-US/ProductionPipelines/ScriptingAndAutomation/Python/)**
>
> Describes how to use Python in the Unreal Editor to script content production tasks.

[https://youtube.com/watch?v=0guOMTiwmhkhttps://youtube.com/watch/PVx4iWBdcQc](https://youtube.com/watch?v=0guOMTiwmhkhttps://youtube.com/watch/PVx4iWBdcQc)

> **[GitHub - mamoniem/UnrealEditorPythonScripts: Some of my personal scripts i...](https://github.com/mamoniem/UnrealEditorPythonScripts)**
>
> Some of my personal scripts i made to use for my own projects, but free of charge to be used for any project and any purpose as long as it is not violating the Unreal Engine EULA. - GitHub - mamoni...

---

<div class="post-metadata">

**Author:** ![DsyD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DsyD](https://forums.unrealengine.com/u/DsyD)\
**Post date:** [February 14, 2020, 4:09pm UTC](https://forums.unrealengine.com/t/how-to-code-in-ue4-with-python/136252/4 "2020-02-14T16:09:51Z")

</div>

There’s [GitHub - 20tab/UnrealEnginePython: Embed Python in Unreal Engine 4](https://github.com/20tab/UnrealEnginePython), but the last officially-supported version is 4.23 and I don’t think the maintainer is interested in updating it anymore.

I have written a small plugin that enables passing string data between Blueprints and Python (at runtime, via a custom GameModeBase class) so that I can potentially script gameplay using Python, but it’s pretty raw and untested (although it seems to work so far). Would be happy to share if anyone’s interested.
