Double check your setup, since here is what I get importing os:
IronPython 0.9.3 on .NET 2.0.50215.44
Copyright (c) Microsoft Corporation. All rights reserved.
>>> import os
>>> dir(os)
['AttributeError', 'Equals', 'False', 'GetHashCode', 'GetType', 'ImportError', '
MakeNew', 'NameError', 'None', 'ToString', 'True', '_', '__all__', '__builtins__
', '__dict__', '__doc__', '__file__', '__name__', '_copy_reg', '_execvpe', '_exi
sts', '_exit', '_get_exports_list', '_make_stat_result', '_make_statvfs_result',
'_pickle_stat_result', '_pickle_statvfs_result', 'altsep', 'curdir', 'defpath',
'dict', 'dir', 'environ', 'error', 'eval', 'execl', 'execle', 'execlp', 'execlp
e', 'execvp', 'execvpe', 'extsep', 'getcwd', 'getenv', 'linesep', 'list', 'listd
ir', 'makedirs', 'name', 'pardir', 'path', 'pathsep', 'remove', 'removedirs', 'r
enames', 'sep', 'spawnl', 'stat', 'stat_result', 'sys', 'unlink', 'waitpid', 'wa
lk']
>>>
Regards,
Anthony
On 10/15/05, Papanii Okai <[EMAIL PROTECTED]> wrote:
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
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
_______________________________________________ users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
