[IronPython] atexit module doesn't work

henry show henryshow at gmail.com
Mon Mar 13 10:08:50 CET 2006


I C, thx a lot.
then i can repro your bug on my computer.
and cPython did print a 'Bye' runing your piece of code.

btw:what's so special with site.py? why we have to replace the original one
with a empty one for ironpython?

2006/3/13, Sanghyeon Seo <sanxiyn at gmail.com>:
>
> 2006/3/13, henry show <henryshow at gmail.com>:
> > 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, stat, copy_reg,
> and types module.
>
> Seo Sanghyeon
> _______________________________________________
> users mailing list
> users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20060313/b642741d/attachment.html>


More information about the Ironpython-users mailing list