John Messerly wrote:
Actually, it's a result of System.Text.ASCIIEncoding, which replaces bytes
greater than 0x7f with a question mark. I filed this as CodePlex work item
#10983
(http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=10983).
Thanks. With CPython, the only
On 12/06/07, Dave Fugate [EMAIL PROTECTED]
wrote:
Does it still fail if you run msbuild IronPython.sln from a VS2005 or .NET
SDK command prompt?
Yes, it gives me the same VS error from the .NET SDK command prompt.
The console gives me:
Target SettingUpDevenv:
C:\Program Files\Microsoft
--
C:\Python\IronPython-2.0A1ipy -X:MTA
File -X:MTA does not exist.
C:\Python\IronPython-2.0A1
--
This is unique to IPY 2.0, and is not seen in IPY 1.1
Also, -X:TabCompletion doesn't work in IPY 2.0
IPY.exe 1.1 and 2.0 both emit the newline sequence as:
\r\r\n (hex 0x000D 0x000D 0x000A)
Instead of the more standard sequence of:
\r\n(hex 0x000D 0x000A)
This behavior is not seen in -X:TabCompletion mode in IPY 1.1.
I know that there are a lot of irregularities in representing
Thanks! Filed as CodePlex Work Item #11014
(http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=11014).
As for -X:TabCompletion, did you mean that it does not work for simple variable
expansion (see
http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=10928) or
I think the correct behavior would be to use os.linesep which is \r\n as you
state:
IronPython console: IronPython 2.0 (2.0.0.0) on .NET 2.0.50727.1366
Copyright (c) Microsoft Corporation. All rights reserved.
import os
os.linesep
'\r\n'
Filed as CodePlex Work Item #11016
This question may be off-topic. I'm using IronPython to work w/Net. I
recently installed the .Net 3.0 framework and the C# SDK, but the only
object I have available in System.Windows is Forms. I'm not seeing any of
the new WPF modules, .Media, etc...
Any ideas? WPF is included w/the .Net 3.0
If this is visual studio you're talking about, you'll probably need either
Visual Studio 2005 extensions for .NET Framework 3.0 (WCF WPF), November
2006 CTP(
http://www.microsoft.com/downloads/details.aspx?familyid=F54F5537-CC86-4BF5-AE44-F5A1E805680Ddisplaylang=en
)
or beta 1 of Visual Studio
Sounds like this might be related to
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1055922SiteID=1 ...
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Rowe
Sent: Tuesday, June 12, 2007 2:17 AM
To: users@lists.ironpython.com
Subject: Re:
You need to add references to the WPF assemblies from IronPython. There's a
section on how to use WPF from IronPython in the tutorial which is part of the
distribution.
The code you need is roughly (emphasizing roughly, because from module import
* is best avoided for possible name clashes)
If I associate ipy.exe with *.py files then run the IronPython files
directory I am not seeing any command line argument that I try to pass
in to the script.
I have a file called cmdline_test.py with the following two lines,
import System
print System.Environment.CommandLine
If I run
Looks like I've worked it out for myself. It looks like that is the
behavior you will get if you use the 'Always open with this
applications' option when you use 'Open With..'
I fixed it by undoing that change and changing what was run for all
Python.File types.
Iain.
Iain wrote:
If I
That seems correct. If I read your message correctly, when you run the .py file
directly and rely on the file association, the python file name will get passed
to the ipy.exe as full path. It is consistent with what I am seeing with simple
test using notepad:
If, from command line I start
What I didn't make clear was that the extra option (in this case the
word test) was missing when using the file association.
Iain.
Martin Maly wrote:
That seems correct. If I read your message correctly, when you run the .py
file directly and rely on the file association, the python file
The reason arguments aren't getting passed is because file associations by
default only pass the file name, not any additional arguments. You can see the
registry entry for the file association by running the following IPy code:
# Reads the registry key containing the command to run for .py
15 matches
Mail list logo