You’re asking this on the 2D forums and it’s not related to 2D at all.
I’ll move your post to Editor & General Support which might be more appropriate.
Note: You can use code-tags when posting code rather than plain text. You can also edit your post to include this too.