olderPath)
debugMsg(0, "excluding folder '%s' from PATH" % folderPath)
os.environ['path'] = ';'.join([x for x in folderPaths
if x not in toExclude])
# ——
Attr(binder.Name, pyValue);
I would be interested in any comments about these changes - especially if there
are better ways of fixing the problems.
I am also interested to hear if anyone has other improvements to suggest.
--
Cameron Hayne
ca
being found. This
error seems to happen when calling PythonEngine.Initialize().
--
Cameron Hayne
cameron.ha...@introspect.ca
_
Python.NET mailing list - PythonDotNet@python.org
https://mail.python.org/mailman/listinfo/pythondotnet
I tried calling Py_SetPythonHome("C:\\Python27") before calling
PythonEngine.Initialize(), but I got the same problem (re ‘copy_reg’ not
found).
Any other suggestions?
--
Cameron Hayne
cameron.ha...@introspect.ca
On Apr 19, 2016, at 4:37 PM, Tony Roberts wrote:
> No need to
I’m using a similar method for redirecting Python output to a .NET textBox:
#--
public static void redirectPythonOutput(TextWriter writer)
{
Output output = new Output(writer);
using (Py.GIL())