Re: [Python.NET] Python .net and wpf: it's possible?

2015-06-22 Thread Tony Roberts
Hi Germano, It helps to look at the full exception and stack trace, not just the exception type. In this case you probably got this error "System.InvalidOperationException: The calling thread must be STA, because many UI components require this." which tells you that the main thread you're calling

[Python.NET] Python .net and wpf: it's possible?

2015-06-20 Thread germano carella
Hi, I'm Germano From Italy. I'm trying to write a wpf application using python for .net. import clr clr.AddReference("wpf\PresentationFramework.Classic") clr.AddReference("wpf\PresentationCore") from System.Windows import Window,Application class MyWindow(Window): def __init__(self): Window._

Re: [Python.NET] Python .NET on Windows 8.1

2014-03-14 Thread Rudi Lutz
ov > Sent: Wed Nov 6 11:27:45 CET 2013 > To: pythondotnet at python.org > Subject: [Python.NET] Python .NET on Windows 8.1 > > I have been using python.net for about 5 years for my project at work. > Usually everything worked or at least there was a way to fix it. Right now,

Re: [Python.NET] Python .NET on Windows 8.1

2013-11-24 Thread davidacoder
il.Register(t); } } From: PythonDotNet [mailto:pythondotnet-bounces+btribble=ea.com at python.org] On Behalf Of Mihhail Maslakov Sent: Wed Nov 6 11:27:45 CET 2013 To: pythondotnet at python.org Subject: [Python.NET] Python .NET on Windows 8.1 I have been using python.net for about 5

[Python.NET] Python .NET on Windows 8.1

2013-11-07 Thread Mihhail Maslakov
I have been using python.net for about 5 years for my project at work. Usually everything worked or at least there was a way to fix it. Right now, there is a situation, that I cannot understand. Since my PC got upgraded from W7 to W8.1 imports stopped working. It seems that something happens on cl

[Python.NET] Python .NET

2006-03-31 Thread Yankov, Georgi (SMB)
Gentlemen,   I need your help.  I have a Windows-Application, created with Microsoft Visual Studio.NET 2005 (C#).   I want to use Python as embedded Script language. It will be great.   I want to create three Text-Windows: - 1st Window is for Python text editor with one “Run”-button (execu