Python : Tkinter module

hi all,
i am trying to import Tkinter module in dynamo python node which based on python 2.7, but it keeps tell me there is no module with that name.
does any body have an idea why ?

Tkinter

Tkinter2

@khuzaimah.ElecEng check this post.

2 Likes

As noted in the post jean linked to, Dynamo runs on IronPython 2.7, not standard Python 2.7, which means that some Python libraries (tkinter, numpy, etc.) are not available. IronPython lib:
image
Standard Python 2.7 lib:
image
Note the lib-tk folder which is not present in the IronPython Lib directory.

2 Likes