2006/3/13, henry show [EMAIL PROTECTED]:
i am new to ironpython, so my question might be silly:
why i can not even import os and atexit?
You need to copy Lib directory from CPython 2.4 distribution. (And
delete site.py after copying.)
To import os module, you need os, ntpath or posixpath,
You should be able to do:
import System
a = System.IO.FileStream('abc', System.IO.FileMode.Create)
file(a)
file 'F:\Product\IronPython\IronPython\abc', w+
That should work w/ a network stream as well, but the filename will show up as
nul in that case.
Do you want to help develop Dynamic
Thanks for the bug report Seo, we'll look into getting it fixed for beta 5.
Do you want to help develop Dynamic languages on CLR?
(http://members.microsoft.com/careers/search/details.aspx?JobID=6D4754DE-11F0-45DF-8B78-DC1B43134038)
-Original Message-
From: [EMAIL PROTECTED]
Strange, we pass the atexit test Ill
open a bug on this for us to look into.
Do
you want to help develop Dynamic languages on CLR? (http://members.microsoft.com/careers/search/details.aspx?JobID=6D4754DE-11F0-45DF-8B78-DC1B43134038)
From: [EMAIL PROTECTED]
[mailto:[EMAIL
In Beta3, I recall beingable to copy and paste large class definitions from my editor to the interactive console. In Beta4, I get some strange indenting behavior that breaks that usage. Example:
class Item(UserControl): def __init__(self, id, beetle): self.id = id self.Height = 50;
When