Ongoing/PythonNET

Python for .NET : Windows.Forms Example 1

More Code 2019. 5. 8. 08:35


# Python for .NET

import clr
clr.AddReference("Frame1")
import Frame1
import System.Windows.Forms


def main():
myForm1 = Frame1.Form1()
System.Windows.Forms.Application.EnableVisualStyles();
System.Windows.Forms.Application.Run(myForm1)


if __name__ == '__main__':
main()




Python for .NET Reference

http://pythonnet.github.io/

https://github.com/pythonnet/pythonnet

https://github.com/pythonnet/pythonnet/wiki

http://kozyarchuk.blogspot.com/2015/03/winforms-with-python-by-kozyarchuk.html

http://kozyarchuk.blogspot.com/2015/03/testing-winforms-with-python.html