Hello,
2006/9/25, Erich Lin <[EMAIL PROTECTED]>:
> I am looking for the equivalent of os.system(nt.system) for IronPython.
How about making use of System.Diagnostics.Process.Start?
E.g.,
>>> import System
>>> System.Diagnostics.Process.Start('ipy.exe')
_
Dino Viehland wrote:
> The best replacement is probably nt.spawnl - it looks like this has been
> reported in the issue tracker over the weekend, and someone else has
> commented that it should be high-priority. So with 3 reports all at once
> I've gone ahead and moved this to high priority. T
The best replacement is probably nt.spawnl - it looks like this has been
reported in the issue tracker over the weekend, and someone else has commented
that it should be high-priority. So with 3 reports all at once I've gone ahead
and moved this to high priority. Thanks for the bug report!
--
David Anton wrote:
> Which of the following is considered more acceptable in the Python/IronPython
> community?
>
> Prefacing the method with:
> @staticmethod
>
> or following the method with:
> MyMethod = staticmethod(MyMethod)
>
Since Python 2.4, the decorator is nicer. :-)
Michael Foord
htt
David Anton wrote:
> Is this an acceptable way to simulate the type of namespace you'd define in
> C#, VB, etc?
>
> class SimulatedNamespace:
> class SomeClass(object):
>
>
> It seems to work ok in my tests, but is there some pitfall to doing this?
>
For pure Python code I'd use
Hi,
I'm running IronPython 1.0 on Windows XP:
IronPython 1.0.60816 on .NET 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.
>>>
Something happened on my Windows XP box last week, and now when I start
ipy.exe, the console window appears, but it takes ~15 seconds for the
i
The MSDN docs should tell you what namespace and assembly a particular class is in (there's a requirements section in the class overview that lists this. e.g. String is at http://msdn.microsoft.com/library/default.asp?url="">).
You should check the GAC for the required assemblies. They won't ne
On 9/23/06, David Anton <[EMAIL PROTECTED]> wrote:
> Any idea what the "Array[int][int]" means?
> Iron Python is ok with it, but I can't figure
> out what it is (or how to initialize it).
Looks like second [int] just overrides previous [int]:
>>> from System import *
>>> a = Activator.CreateI
Array[int][int] is equivalent to Array[int]. Using this syntax, the type that
takes effect is actually the type in the right-most brackets. For example:
Array[int][str] is equivalent to Array[str]
This is probably an unintentional (and admittedly confusing) behavior that we
will look at fixing
Hi,
I am trying to run a shell command, specifically msbuild, and pstools.
nt.system and os.system run on python, but neither of those run on
ironpython. How would you do this using IronPython.
Thanks
___
users mailing list
users@lists.ironpython.com
Hi,
I am looking for the equivalent of os.system(nt.system) for IronPython.
Thanks
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Which of the following is considered more acceptable in the Python/IronPython
community?
Prefacing the method with:
@staticmethod
or following the method with:
MyMethod = staticmethod(MyMethod)
--
View this message in context:
http://www.nabble.com/Static-methods-tf2327398.html#a6474908
Sent
Is this an acceptable way to simulate the type of namespace you'd define in
C#, VB, etc?
class SimulatedNamespace:
class SomeClass(object):
It seems to work ok in my tests, but is there some pitfall to doing this?
--
View this message in context:
http://www.nabble.com/Simulat
i've also found;
clr.AddReferenceByPartialName("Microsoft.DirectX.Direct3D")
clr.AddReferenceByPartialName("Microsoft.DirectX.Direct3DX")
by seaching msdn for info on the missing objects/types and noting the
assembly
bit by bit more of the framework.py script runs, without any new
downloads, howe
Thanks Dino. That's cleared up Python jagged arrays for me.
Any idea what the "Array[int][int]" means? Iron Python is ok with it, but I
can't figure out what it is (or how to initialize it).
Dino Viehland wrote:
>
> You can initialize the values on this like:
>
> Array[Array[int]]( ( (1,2),
Submitted to CPython tracker: http://www.python.org/sf/1564981
--
Seo Sanghyeon
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
16 matches
Mail list logo