Hey everyone,
I am missing a key step trying to recreate the
"from powershell import *" from Jim Hugunin demo
(http://weblog.infoworld.com/udell/screenroom/ironpython_flv.html). I
always get the "no module named powershell" error.
Does anyone know what else needs to be setup for IronPython to fi
I would like to add a reference to a web service in an ironpythong
application. I looked at the samples provided on the CodePlex site
and the only thing that was similiar used a C# class library to access
the web service and ironpython communicated with the dll.
Cheers
Walt
_
Very useful. Thank you for pointing that out as I hadn't noticed.TimOn 9/8/06, Shri Borde <[EMAIL PROTECTED]
> wrote:
In case you hadn't noticed, there is a new IronPythonApiReference.chm
in the Doc folder in the zip 1.0 RTM zip files, both bin and src. This should
help answer many of t
There's two issues here, I've opened bug #3050 to track this
(http://www.codeplex.com/WorkItem/List.aspx?ProjectName=IronPython).
The 1st issue is that nt.utime is steting the LastAccessTime twice - obviously
we want to set LastAccess once, and LastWrite once.
The 2nd issue is that we're doing
In case you hadn’t noticed, there is a new IronPythonApiReference.chm
in the Doc folder in the zip 1.0 RTM zip files, both bin and src. This should
help answer many of the questions which come up about the specifics of the
hosting APIs.
Thanks,
Shri
PS: I thought I had sent this em
This is a bug - I've opened CodePlex bug #3049 to track this
(http://www.codeplex.com/WorkItem/View.aspx?ProjectName=IronPython&WorkItemId=3049).
The problem here is that we're not recognizing the double \ as being a valid
escape sequence that we should ignore. Instead we skip the 1st \, see th
Title: Passing Arguments in hosted enviroment
Hi Bernd,
I would recommend against calling ExecuteFile on each request,
as that would cause the code to be parsed and compiled every time (very
inefficient). Instead, one thing you can do is:
-
On the first request, create an
I am using IronPython 1.0 under Windows XP and using the python
libraries from ActivePython 2.4 Build 243. When I run this program under
IronPython:
import os
import stat
def printFileTimes(st):
print 'Last Access: ', st[stat.ST_ATIME]
print 'Last Modification: ', st[stat.ST_MTIME]
#test.py
import re
# compiles under CPython, fails under IronPython
myregex = re.compile (r"[\\A-Z\.\+]")
if myregex.search ('aaaA\\B\\Caaa'):
print 'found'
else:
print 'not found'
-
I tried to run my Python script under Iron Python and this line:
2006/9/9, Dino Viehland <[EMAIL PROTECTED]>:
> We thought that CreateInstance was a handy enough way to do this so we
> didn't re-invent the wheel. Given our current syntax for creating an array
> requiring a sequence we've left the window open to add your proposed syntax
> in the future but it'd
We thought that CreateInstance was a handy enough way to do this
so we didn’t re-invent the wheel. Given our current syntax for creating an
array requiring a sequence we’ve left the window open to add your proposed
syntax in the future but it’d be interesting to hear how cumbersome others
Given the major API changes that took place since you sent this out, have you
got an updated version that you're willing to let us have?
Thanks!
At 06:17 PM 11/4/2005, Szymon Kobalczyk wrote
>Hello all,
>
>Attached is my attempt to create console for IronPython in WinForms. It uses
>the RunInte
I'm curious what the current status/thinking is on IronPython integration
with Visual Studio 2005. I understand there are some older bits available as
part of the Visual Studio SDK beta. Any chance this is going to go into
production soon?
Marc LaFleur
Parlance Corporation, Your voice for Service.
The question is: is there an alternative syntax
to create an array of a specific length. Now you have to go through a static
method of System.Array to create it.
I wanted to know if you can create it
directly and keep it looking like System.Array[int]. Something like: System.Array[int](3).
Did you leave some part of your own question un-answered?
CreateInstance does just what you said you wanted to know how to do,
doesn't it?
At 04:22 AM 9/8/2006, Kristof Wagemans wrote
You can create an int array of
length 3 with:
System.Array[int]((1,2,3))
Is there an alternative syntax to
cr
You can create an int array of length 3 with:
System.Array[int]((1,2,3))
Is there an alternative syntax to create an int array of
length 3 without passing in a tuple with 3 values? I know that I can create one
with:
System.Array.CreateInstance(int,3)
_
16 matches
Mail list logo