[IronPython] importing os module

Liam Clarke ml.cyresse at gmail.com
Tue Nov 1 07:09:54 CET 2005


Now, my question on os is, what does IronPython have against pipe() ?
Does IronPython not play with C at all?

Regards,

Liam Clarke


On 11/1/05, Martin Maly <Martin.Maly at microsoft.com> wrote:
>
> You can set sys.path to point to CPython's Lib directory which includes os
> module:
>
> >>> import sys
> >>> sys.path.append("C:\\Python24\Lib")
> >>> import os
> >>> os.name
> 'nt'
>
> You can even put the first 2 lines into your site.py (located in
> IronPython's Bin\lib directory)
>
> Martin
>
>  ________________________________
>  From: users-bounces at lists.ironpython.com
> [mailto:users-bounces at lists.ironpython.com] On Behalf Of
> Papanii Okai
> Sent: Friday, October 14, 2005 8:26 PM
> To: users at lists.ironpython.com
> Subject: [IronPython] importing os module
>
>
>
>
>
> Hi Guys,
>
>           I was testing out Iron Python and I was trying to test out the OS
> module but I got the error ..
>
>
>
> TraceBack (most recent call last)
>
>             At <shell>
>
> ImportError: No module named os..
>
>
>
> Obviously it doesn't exist. Thus is there any means to get around this?
>
>
>
> Thank you
>
> --Papanii
> _______________________________________________
> users mailing list
> users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
>
>



More information about the Ironpython-users mailing list