Here's a simple example of using unittest in Silverlight:
http://blog.jimmy.schementi.com/2009/06/simple-python-testing-in-silverlight.html
Michael, can you use this for your EuroPycon talk, or would you like something
a bit more complex? I can do testing C# with IronPython, but only if you
Hi All,
I was using python and SPSS Python integration plug-in to access
SPSS application and execute spss syntax commands.
I was wondering if that can be achieved using IronPython as well.
I try to import the spss module and added the python25/lib/site-packages to
the IronPython path.
Well - prima-facie an ImportError saying the module can't be found
means that the path containing the package/module isn't in sys.path
when you do the import (although it's *possible*) there is another
problem.
Try adding the path from the interactive interpreter and trying the
import.
Thanks for your reply I just knew that spss Python plugin has to be built
for specific Python implementations.
Unfortunately it does not support IronPython.
Regards
--
Sarah Abdelrazak
On Mon, Jun 29, 2009 at 10:11 AM, Michael Foord
fuzzy...@voidspace.org.ukwrote:
Well - prima-facie an
No spss module is not a C-extension , I believe that part of it is
implemented using java.
At the begining of my module I add the following lines :
import sys
sys.path.extend([
r'c:\Python25\Lib',
r'c:\Python25\Lib\site-packages',
])
sys.path.append(r'c:\Python25\Lib')
Using the Iron Python libraries for extensibility in a C# app, what do
we need to do to make the Python module loadable?
Quick question: I am trying to use a built-in Python module (not .NET)
in a SN script, and I am not sure how to reference it. I tried:
import urllib
and I am
You have to have a version of CPython installed such as v2.5 (for IronPython
2.0) or v2.6 (for IronPython 2.6).
From IronPython:
import sys
sys.path.append(r'\c:\python25\lib') # adjust to whatever version of CPython
you have installed.
import urllib
From:
From hosting, you can call ScriptEngine.SetSearchPaths to achieve a similar
effect.
On Mon, Jun 29, 2009 at 2:02 PM, Lepisto, Stephen P
stephen.p.lepi...@intel.com wrote:
You have to have a version of CPython installed such as v2.5 (for
IronPython 2.0) or v2.6 (for IronPython 2.6).
From
For anyone who is interested, I have done a little work getting the
DVCS bazaar working on IronPython 2.0 and 2.6 - please see this
message and attached patch:
https://lists.canonical.com/archives/bazaar/2009q2/060028.html
I've yet to have a chance to go through the codeplex bugtracker and
match
Good work, it's very cool to see this - if you see an existing bug or
open a new please make sure to mention that it effects Bazaar and we'll
treat it with a higher priority. In general that goes for any large
body of existing Python code.
-Original Message-
From:
10 matches
Mail list logo