[IronPython] importing the os module
Papanii Okai
papanii.okai at gmail.com
Mon Oct 17 10:04:04 CEST 2005
Thanx Jonathan the link you provided proved very useful..
--Papanii
-----Original Message-----
From: users-bounces at lists.ironpython.com
[mailto:users-bounces at lists.ironpython.com] On Behalf Of Jonathan Jacobs
Sent: Monday, October 17, 2005 12:25 AM
To: Discussion of IronPython
Subject: Re: [IronPython] importing the os module
Papanii Okai wrote:
> Hmm, I tend to disagree with you on the fact that in standard python os
> is not a built in module. Even though nt is built in, the os modules
> also built in. But what is confusing is that Anthony posted that he was
> able to import the os module like so.
Anthony is probably making use of site.py (which can be found in
<path_to_ironpython>\bin\Lib) to make the Python stdlib accessible to
IronPython. (That is, unless I'm mistaken.)
Jim mentions[1] a short site.py in one of his recent emails which is
probably just what you're looking for.
Hope this helps.
[1]
http://lists.ironpython.com/pipermail/users-ironpython.com/2005-October/0010
92.html
--
Jonathan
When you meet a master swordsman,
show him your sword.
When you meet a man who is not a poet,
do not show him your poem.
-- Rinzai, ninth century Zen master
_______________________________________________
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