How do I do import hooks in IronPython/Silverlight?
Posted
by ahlatimer
on Stack Overflow
See other posts from Stack Overflow
or by ahlatimer
Published on 2010-06-10T01:08:58Z
Indexed on
2010/06/10
1:12 UTC
Read the original article
Hit count: 206
I'm extending TryPython to (along with various other things) allow users to save a file and subsequently import that file. TryPython overloads the built in file operations, so I need to know what parts of import need to hooked into in order for import to use the overloaded file operations.
Really, a basic overview of IronPython's import when used in Silverlight would be extremely helpful. I don't need a complete working solution (although I won't stop you from writing one! :). I'm a Python newbie, and I really have no idea where to even begin.
Thanks!
© Stack Overflow or respective owner