# begin site.py
print "Hello World"
# end site.py
next to IronPythonConsole.exe
and start ironpython I get the following output:
Hello World
IronPython 1.0.60619 (Beta) on .NET 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.
>>>
so site is automatically imported
but when I do a dir()
then I see
['__builtins__', '__doc__', '__name__', 'site']
while in CPytion the 'site' is not in dir()
/Simon
BTW. it seems I cannot copy from the IronPythonConsole window (at least not like from a normal "cmd" window, i.e. right-click -> Mark -> select, rightclick), I don't get a rightclick menu?
_______________________________________________ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com