# Course: Utilizing Python for Editor Scripting in Unreal Engine

**URL:** <https://forums.unrealengine.com/t/course-utilizing-python-for-editor-scripting-in-unreal-engine/575772>\
**Category:** Tutorial & Course Discussions\
**Tags:** unreal-engine\
**Created:** [June 7, 2022, 1:21am UTC](https://forums.unrealengine.com/t/course-utilizing-python-for-editor-scripting-in-unreal-engine/575772 "2022-06-07T01:21:01Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![isaacoster](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@isaacoster](https://forums.unrealengine.com/u/isaacoster)\
**Post date:** [April 9, 2023, 1:20pm UTC](https://forums.unrealengine.com/t/course-utilizing-python-for-editor-scripting-in-unreal-engine/575772/14 "2023-04-09T13:20:58Z")

</div>

@eco_bach2  
Yeah this is a new issue. It’s a simple fix - the assetPath has a dot at the end and the name of the asset repeated after. For some reason this is a problem. If you do a split at the dot and just use the path without the second instance of the name it should work fine. I have a more detailed explanation here:

> [@Community Tutorial: Solved - TryConvertFilenameToLongPackageName ObjectPath warning](https://forums.unrealengine.com/t/community-tutorial-solved-tryconvertfilenametolongpackagename-objectpath-warning/734268):
>
> Warning: TryConvertFilenameToLongPackageName was passed an ObjectPath rather than a PackageName or FilePath. [https://dev.epicgames.com/community/learning/tutorials/qMy2/unreal-engine-solved-tryconvertfilenametolongpackagename-objectpath-warning](https://dev.epicgames.com/community/learning/tutorials/qMy2/unreal-engine-solved-tryconvertfilenametolongpackagename-objectpath-warning)

Not sure why your scripts are taking a long time to execute. What are you trying to do, and how big is the project? Also, I don’t get an automatic ping when someone comments on this thread, so please @ me : )

---

_[View the full topic](https://forums.unrealengine.com/t/course-utilizing-python-for-editor-scripting-in-unreal-engine/575772)._
