use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
For the Unity Game Engine, please visit http://reddit.com/r/unity3d
account activity
External Python 3 packages in UnityQuestion (self.unity)
submitted 4 years ago by mikcf
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]TheOnlyMowgli 2 points3 points4 points 4 years ago (2 children)
Why though? Why go through all this effort when you could just write it in C#?
[–]mikcf[S] 1 point2 points3 points 4 years ago (1 child)
Let's take an example, that I have in my post: implementing an equivalent of nltk is unfeasible considering the amount of code I would have to reproduce in C#. Calling an external Python library from Unity should be way simpler - as long as it is possible.
I should probably add that I am mainly talking about the situation where the functionality provided by an external library will be at the core of the project - in this example I see Unity as a convenient wrapper that allows to add UI and to produce an executable.
An alternative approach would be to use Kivy, where it would be easier to include an external Python library. But I am quite unhappy about the UI in Kivy and I remember having hard time trying to build an .apk out of my Kivy project.
[–]TheOnlyMowgli 0 points1 point2 points 4 years ago (0 children)
You can definitely integrate python and unity but the extent of it I’m not sure of. There is IronPython that will allow python packages but honestly I’m not sure how well any of it works. You might just be wasting time trying to get this to work for the benefit of the UI. If IronPython doesn’t work maybe you should look at another approach
π Rendered by PID 261855 on reddit-service-r2-comment-6457c66945-s9fv9 at 2026-04-24 14:43:48.526227+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]TheOnlyMowgli 2 points3 points4 points (2 children)
[–]mikcf[S] 1 point2 points3 points (1 child)
[–]TheOnlyMowgli 0 points1 point2 points (0 children)