[IronPython] error when 'import os'

Ben Aurel ben.aurel at gmail.com
Wed May 14 13:54:05 CEST 2008


I've a simple script that involves the creation of a file. The script 
doesn't run because it can't import the 'os' module. It's the same 
message when I try to import it at the interactive shell:
IronPython 1.1.1 (1.1.1) on .NET 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.
 >>> import os
Traceback (most recent call last):
ImportError: No module named os

replacing 'os' with 'nt' gives me the same error.

Any ideas what I'm doing wrong here?

thanks a lot

More information about the Ironpython-users mailing list