[IronPython] How to import python folders as modules

Jose Ignacio Gisbert jigisbert.etra-id at grupoetra.com
Wed Feb 27 01:19:48 PST 2008

What I undestand is that App_Script folder is like App_Data in C# but in
IronPython, in Visual Studio. If I put there a .py python module, then from
code I can import it as it was in the same folder. For example, if I put a
file called bscw.py in App_Script, I can import it then by calling "import

-----Mensaje original-----
De: users-bounces at lists.ironpython.com
[mailto:users-bounces at lists.ironpython.com] En nombre de Sanghyeon Seo
Enviado el: miércoles, 27 de febrero de 2008 10:12
Para: Discussion of IronPython
Asunto: Re: [IronPython] How to import python folders as modules

2008/2/27, Jose Ignacio Gisbert <jigisbert.etra-id at grupoetra.com>:
>  What I do is to create a folder named "xmpp" under App_Script folder (so
>  xmpp path it's no necessary I think), and after I attach xmpp files to it
>  (including __init__.py).
>  Then, I import module as I did in Python, "import xmpp", and what I
>  is an error message with "No module named xmpp"

What is App_Script folder?

Seo Sanghyeon
Users mailing list
Users at lists.ironpython.com

More information about the Users mailing list