I am using Python 2.5.2. How can I tell whether it is CPython
or IronPython
or Jython
?
Another question: how can I use a DLL developed in VB.NET in my project?
import platform
platform.python_implementation()
The above one provide the type of interpreter you use .
If you downloaded it as the default thing from python.org, it's CPython. That's the “normal” version of Python, the one you get when you use the command “python”, and the one you'll have unless you specifically went looking for the projects targeting Java/CIL.
And it's CPython because neither of the other projects have reached version number 2.5.2.
How can i use a dll developed in VB.NET in to my project?
From CPython, using Python-for-.NET(*) and clr.AddReference.
(*: actually a bit of a misnomer, as with CPython in control it is more like .NET-for-Python.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With