Joachim de Lezardiere <joachim.lez...@...> writes:
> 
> Which is true, there are no module
> on my computer called System… So how can I import a module that
> doesn’t exist ?
> 

Did you import clr first?


Type "help", "copyright", "credits" or "license" for more information.
>>> import System
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named System
>>> import clr
>>> import System
>>> System
<module 'System'>
>>>

NB: You should have copied the clr.pyd and Python.Runtime.dll files you compiled
to the C:\Python27 directory as part of the "installation process"

HTH,
Dave

_________________________________________________
Python.NET mailing list - PythonDotNet@python.org
http://mail.python.org/mailman/listinfo/pythondotnet

Reply via email to