It might be better if IronPython auto converted the list of real number
to an array in this case. If, that is, all the types in the list can be
widened to the correct type, or if the parameter is an array of
objects. That way you don't have to call an explicit method to set the
list to an array
Anthony,
Yes, there is a way. With few changes your code is essentially correct:
import sys
sys.LoadAssemblyByName('System.Data')
from System import Type, Console, Array
from System.Data import DataSet, DataColumn
key = Array.CreateInstance(DataColumn, 1)
dataset = DataSet('MySet')
dataset.T
Well, that explains why it's called "pyc" -> rus
I actually can sound out much of it. Can't tell the difference much between
tch, tsch, and the like. Don't ask me to do it in cursive: mmnnununuunnmm ;)
"ipyc", in english, would probably sound much like "eye pick", which reminds me
of the H
>>> John A. Tenney Wrote:
>>>
>>> 1. I'd like to pass an array of 6 doubles to a method, but get an
error message.
>>> For example, the "myMethod" call below fails when it requires a
double array.
>>> array=[1, 2, 3.5, 4]
>>> myObject.myMethod(array)
If you create the array using the syntax abov
pyc.exe is a popular on-the-fly convertor of English letters being typed on
a keyboard into Cyrillic fonts on the screen(being Russian myself I just
read what Google brought up).
I'd suggest ipyc.exe ( pronounced much like HP's IPAQ :) )
Best regards -
Serge Kolgan (skolgan @ cox.net)
Hello,
> > http://www.microsoft.com/downloads/details.aspx?FamilyID=B7ADC595-717C-4EF7-817B-BDEFD6947019&displaylang=en
>
> Has anyone tried this with Mono, on OS X or Linux?
IronPython will work with Mono if you use the SVN version; You need at
least version 42243.
We were only missing one m
I’d like to pass an array of 6 doubles to a
method, but get an error message. For example, the “myMethod”
call below fails when it requires a double array.
array=[1, 2, 3.5, 4]
myObject.myMethod(array)
I’d like to invoke an overloaded operator,
or it’s backing op_xxx
I’d like to be able to script up a .NET app that I
have—say, for example, by bringing up a dialog in which they can interact
with existing objects in the environment.
At first blush, it works fine. However, it seems that, even
though an assembly is already loaded, that in order to crea
This is what I get for not having enough sleep. I was doing this just fine a
week ago -- glad to hear it wasn't some sudden breakage.
Forgot about those unbound methods.. Been ages since I've done foo(self, arg).
Re Environment: If there isn't anything, it may be something to prod the
Fram
Keith J. Farmer wrote:
> [Incidentally, the ".NET" in the version info is hardcoded -- is there
a
> means to pick up the full name of the environment, rather than just
the
> version? This would allow more accurate reporting between MS and 3rd
> party CLR implementations.]
We're using System.Envir
If memory services me correct, VS.NET 2005 is supposed to provide hooks
that allow you extend the platform to support other languages in terms
of compiling, syntax highlighting, debugging, etc. Does the IronPython
team intend to release a plug-in for the IronPython language?
On Apr 18, 2005, a
[Incidentally, the ".NET" in the version info is hardcoded -- is there a means
to pick up the full name of the environment, rather than just the version?
This would allow more accurate reporting between MS and 3rd party CLR
implementations.]
IronPython 0.7.2 on .NET 2.0.50215.44
Copyright (c)
12 matches
Mail list logo