.net - Importing CLR using IronPython -


i wanted give ironpython try since want learn more both python , .net underlay. installed last version (2.7.3) , trying import clr, on first line, can't run , throws error "no module named clr". googled didn't find on matter. ironpython install pretty straight forward, windows apps commonly are, can't find did miss here. clues?

imports in python case sensitive (pep 235) on case-insensitive platforms (in case) windows. (there may ways around that, sake of compatibility not recommend using them.)

if change code correct, lower case spelling should work.

import clr 

if not issue wrong (non-ironpython) interpreter/implementation might cause. if running through python tools visual studio setting @ project properties/general/interpreter should show ironpython... , not standard python implementation (python...).


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -