[IronPython] No use Process.Start() , How to execute these command line?

2006-10-30 Thread Kevien Lee
Hi,guys
  I want to excute some command line to get CVS information.But use the Process.Start() is very burden .
 
Now,if i want to do like these:
 
set path=C:\Program Files\WinCvs\cvsntset CVSROOT=:pserver:test:[EMAIL PROTECTED]:2401:/test/CVS
CVS status -d "E:\Project\Test\Test\Document"
 
It could i use ironpython make it simple?
 
Thanks
Kevien
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


Re: [IronPython] wsgi.py update and codecs errors

2006-10-30 Thread Mark Rees
Hi Christopher,I had just checked in some changes to wsgi.py and checked my email and found your patch. I am getting the CGI variables a different way and would be interested in your comments. I am happy to include your changes as well re 
wsgi.py, but will leave the codecs_errors.py for Sanghyeon to review.For your wsgi app were you using WSGI or WSGI-SI?MarkOn 10/31/06, Christopher Baus
 <[EMAIL PROTECTED]> wrote:Hi All,
I'm new to the list, but Jon Udell's sceencast with Jim Hugunin got mepretty excited about the technology.  The fact that it seems to be workingwell with Mono got me even more excited.Anyway I'm working on a new app to test to viability of IronPython for web
development on linux.  I want to thank Sanghyeon Seo for the work on IPCE. With a little bit of hacking, I was able to get an app up and runningwith WSGI and xsp2 over the weekend.I do have a couple patches, and not sure where to post them, I hope it is
ok to post them here.Anyway, I'm attaching an updated version of wsgi.py where I attempt to setmore of the variables in the environ.  I don't have a good solution forPATH_INFO or SERVER_PROTOCOL, but it is enough to bring up more
frameworks.  At least this gets us a bit further.I am also attaching a file called codecs_errors.py which I lifted frompypy.  I am loading it from my site.py.  The codecs error registration inIronPython seems to be missing.  This is causing problems with the
standard email module.  This file addresses the problem.Thanks,Christopherhttp://baus.net/___users mailing list
users@lists.ironpython.comhttp://lists.ironpython.com/listinfo.cgi/users-ironpython.com

___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


[IronPython] wsgi.py update and codecs errors

2006-10-30 Thread Christopher Baus
Hi All,

I'm new to the list, but Jon Udell's sceencast with Jim Hugunin got me
pretty excited about the technology.  The fact that it seems to be working
well with Mono got me even more excited.

Anyway I'm working on a new app to test to viability of IronPython for web
development on linux.  I want to thank Sanghyeon Seo for the work on IPCE.
 With a little bit of hacking, I was able to get an app up and running
with WSGI and xsp2 over the weekend.

I do have a couple patches, and not sure where to post them, I hope it is
ok to post them here.

Anyway, I'm attaching an updated version of wsgi.py where I attempt to set
more of the variables in the environ.  I don't have a good solution for
PATH_INFO or SERVER_PROTOCOL, but it is enough to bring up more
frameworks.  At least this gets us a bit further.

I am also attaching a file called codecs_errors.py which I lifted from
pypy.  I am loading it from my site.py.  The codecs error registration in
IronPython seems to be missing.  This is causing problems with the
standard email module.  This file addresses the problem.

Thanks,

Christopher
http://baus.net/

wsgi.py
Description: application/python


codecs_errors.py
Description: application/python
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


Re: [IronPython] Direct3D demo

2006-10-30 Thread Keith J. Farmer
And here is some tutorial on using VB.NET: 
http://www.alanphipps.com/VisualBasicdotNET-XNA.html



From: [EMAIL PROTECTED] on behalf of Adam Hill
Sent: Mon 10/30/2006 5:06 PM
To: Discussion of IronPython
Subject: Re: [IronPython] Direct3D demo


You are correct there is no VC# Express restriction. If you have the desire you 
can get XNA integrated into VS.2005 proper.
 
adam...
<>___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


Re: [IronPython] Direct3D demo

2006-10-30 Thread Adam Hill
You are correct there is no VC# Express restriction. If you have the desire you can get XNA integrated into VS.2005 proper.
 
adam...
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


[IronPython] IronPython URLs

2006-10-30 Thread Sanghyeon Seo
Mark Rees presents the second part of his IronPython and ADO.NET tutorial.
http://hex-dump.blogspot.com/2006/10/ironpython-and-adonet-part-2.html

Przemek Piotrowski discusses using Oracle Data Provider with IronPython.
http://prpi.blogspot.com/2006/10/oracle-data-provider-for-net-under.html

perezvon presents Django running on IronPython/Mono/Mac.
http://d.hatena.ne.jp/perezvon/20061030/1162209668

-- 
Seo Sanghyeon
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


Re: [IronPython] Direct3D demo

2006-10-30 Thread Keith J. Farmer
I *think* (I do not *know*) that the VC# Express restriction is a matter of the 
deployment/debugging implementation integration for the 360.  They've certainly 
received a lot of push from people to expand the availability.



From: [EMAIL PROTECTED] on behalf of Adam Hill
Sent: Mon 10/30/2006 11:13 AM
To: Discussion of IronPython
Subject: Re: [IronPython] Direct3D demo


XNA is just a set of assemblies/framework and Visual Studio tools. Now for 
PC/XBox 360 cross platform games only C# is supported. It is just a .NET 
assembly and any CLR/CLI compliant system can run the code.
 
Whether or not the 360 can check some special metadata inserted by the toolset 
to see if it is C#  is unknown at this time.
 
adam...
<>___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


Re: [IronPython] quopri module

2006-10-30 Thread Dino Viehland
Even if you get past the number of arguments issue it seems that this will 
still throw NotImplemented.  I'm tempted to think the good quick-fix is to 
completely remove b2a_qp from the binascii module and quopri will then detect 
that and fall back to some other behavior.

I've opened CodePlex bug #4928 
(http://www.codeplex.com/WorkItem/List.aspx?ProjectName=IronPython) for the 
issue and set it as a 1.1 bug.  Thanks for the report (and sorry for missing 
this one the 1st time).

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sanghyeon Seo
Sent: Saturday, October 28, 2006 11:51 PM
To: Discussion of IronPython
Subject: Re: [IronPython] quopri module

2006/10/14, Sanghyeon Seo <[EMAIL PROTECTED]>:
> CPython
> >>> import quopri
> >>> quopri.encodestring('=')
> '=3D'
>
> IronPython
> >>> import quopri
> >>> quopri.encodestring('=')
> Traceback (most recent call last):
>  File quopri, line unknown, in encodestring
> TypeError: b2a_qp() takes exactly 4 non-keyword arguments (1 given)
>
> Found while trying to run SOAPpy (http://pywebsvcs.sourceforge.net/).
> Easy enough to workaround, but I'd rather not.

Follow up on this?

--
Seo Sanghyeon
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


Re: [IronPython] Direct3D demo

2006-10-30 Thread Adam Hill
XNA is just a set of assemblies/framework and Visual Studio tools. Now for PC/XBox 360 cross platform games only C# is supported. It is just a .NET assembly and any CLR/CLI compliant system can run the code.
 
Whether or not the 360 can check some special metadata inserted by the toolset to see if it is C#  is unknown at this time.
 
adam...
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


Re: [IronPython] Direct3D demo

2006-10-30 Thread Giles Thomas




Dave,

Thanks for the reply.  When I run the demo using the August SDK, I get
a message saying "This pre-release version of
DirectX has expired, please upgrade to the latest version from
http://www.microsoft.com/directx"
It looks like one of my colleagues has had more luck with an October
SDK, so perhaps the demo could be updated to support that?

Regarding XNA - I thought it was C#-only, but I guess I was wrong...
does this mean that people will be able to write for the Xbox in IP?


Regards,

Giles


Dave Fugate wrote:

  At the moment there has been no decision on whether we will downgrade this example to be compatible with an earlier version of managed DirectX or migrate it to use XNA.  If we take the latter option, I suspect we'll wait until the final XNA assemblies are released (i.e., they're still currently beta).

In the meantime, are you unable to run the Direct3D sample with the August DirectX SDK for some reason?  I checked the link to the August SDK download page from the tutorial and that seems to still be available for download.


From: [EMAIL PROTECTED] [[EMAIL PROTECTED]] On Behalf Of [EMAIL PROTECTED] [[EMAIL PROTECTED]]
Sent: Friday, October 27, 2006 8:14 AM
To: Discussion of IronPython
Subject: [IronPython] Direct3D demo

Hi,

Is there going to be an updated version of the Direct3D demo now that
the DirectX SDK to which it points has expired?


Regards,

Giles

--
Giles Thomas
Resolver Systems
[EMAIL PROTECTED]

___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
  


-- 
Giles Thomas
Resolver Systems
[EMAIL PROTECTED]



___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com