That's what happens when you try learning too many languages at once...
It was IronRuby, and I meant to ask it in an IronRuby list.
Whoops!
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
My question is simpler, how do I exit a regular script?
If ARGV.length != 1
puts "usage:"
Process.exit
end
I get an error calling Process.exit (private member)
Process.Exit (method does not exist)
sys.Exit (undefined method 'sys' for main:Object)
How do I quit my script?
__
x though we could look at adding an extension method like
"scope.EnableClr()" or something along those lines that makes this simpler.
-Original Message-
From: users-boun...@lists.ironpython.com
[mailto:users-boun...@lists.ironpython.com] On Behalf Of Thomas Gagne
Sent: Monday,
We've hosted Python inside our C# application and all seems to work
well. Recently, one of our programmers has asked to use ToString inside
a python expression. I read online we need to import the "clr" to make
that happen.
The code for kicking it off looks like:
_engine = Python.CreateEngi
Hurray! The Path is now working! Thanks for your help.
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
.NET\\bin\\')
clr.AddReference('ceTe.DynamicPDF.35')
from ceTe.DynamicPDF import *
from ceTe.DynamicPDF.PageElements import *
document = Document()
document.Author = "Thomas Gagne"
document.Title = "Hello"
page = Page(PageSize.Letter, PageOrientation.Portrait, 54.0)
I apologize for the next several questions. I'm want to play with a
.net library but don't want to doit in C# or VB. I prefer dynamic
languages.
Anyway, I have a few questions I'm struggling to find complete examples for.
First, in my test directory inside either cmd or powershell, ipy.exe