Hi,
I'd like to call python method, or receive python object (method) directly
from powershell. Is it possible using python.net?
Thanks,
Spark.
_
Python.NET mailing list - [email protected]
http://mail.python.org/mailman/listinfo/pythondotnet
You are confused. Mark was pointing out that since an assembly is not
necessarily named on disk, the same as the namespaces within it, you need to
AddReference the assembly on disk, and THEN import the namespace. And the
namespace may not be named the same as the reference.
PythonNet is perfe
Hi All,
So, the issue I'm running into is in combining pyinstaller with
pythonnet. I'll describe my current situation. Hopefully it isn't too
long and you have some insight.
I have a little bit of UI put together via Windows forms. I can run it
fine via pythonnet by doing "clr.AddReference
Hi All,
So, the issue I'm running into is in combining pyinstaller with
pythonnet. I'll describe my current situation. Hopefully it isn't too
long and you have some insight.
I have a little bit of UI put together via Windows forms. I can run it
fine via pythonnet by doing "clr.AddReference
Mark, thank you for your help.
Too bad that the original assembly which I am trying to use has namespace with
"." in it:
namespace Accord.Imaging{
}
So in C# "using Accord.Imaging'" works fine, but how to deal with it from
Python?
Sure, I can write a "wrapper" application without dots in namesp
import is namespace on the AddReference.
The import hooks look in the dll's that you've referenced, and search for
namespaces as per the argument to Accord. So, you shouldn't import the dll
name. If the assembly defines the namespace:
namespace AccordImaging
{
...
Then, you should:
impo
Hello,
Sorry for possibly dumb question, but is it possible to import an assembly with
"." (dot) in the name ?
Without dot, for example "SlimDX.dll" - AddReference works and import works too.
But for "Accord.Imaging.dll" - AddReference is OK, but import fails:
>>> import Accord.Imaging
Traceback (
Hi,
I am new at Paython and Python.NET and have been trying to use my own .NET
assemblies.
I have been able to get going with mostly but cannot get passed using C#
structs.
I have a class with an embedded struct
public class Log
{
public class PageManager
{
public struct Pag