Re: [IronPython] How to import python folders as modules

2008-02-27 Thread Jose Ignacio Gisbert
: Discussion of IronPython Asunto: Re: [IronPython] How to import python folders as modules Jose Ignacio Gisbert wrote: > 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

Re: [IronPython] How to import python folders as modules

2008-02-27 Thread Michael Foord
on the IronPython for ASP.NET mailing list. Michael Foord http://www.manning.com/foord > -Mensaje original- > De: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] En nombre de Sanghyeon Seo > Enviado el: miércoles, 27 de febrero de 2008 10:12 > Para: Discussion of IronPython &

Re: [IronPython] How to import python folders as modules

2008-02-27 Thread John Machin
Jose Ignacio Gisbert wrote: > Ok, sorry guys for my lack of information. > > What I have is a folder called xmpp, with .py files including __init__.py In > python2.5 I import it as normal module and it works perfectly, but in > IronPython: > > What I do is to create a folder named "xmpp" under A

Re: [IronPython] How to import python folders as modules

2008-02-27 Thread Jose Ignacio Gisbert
mport bscw.py". -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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 Ignac

Re: [IronPython] How to import python folders as modules

2008-02-27 Thread Sanghyeon Seo
2008/2/27, Jose Ignacio Gisbert <[EMAIL PROTECTED]>: > 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

Re: [IronPython] How to import python folders as modules

2008-02-26 Thread Jose Ignacio Gisbert
e), so if you need more information please tell me. Thanks again and I am waiting for your response -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de John Machin Enviado el: miércoles, 27 de febrero de 2008 0:12 Para: Discussion of IronPython Asunto: Re: [IronP

Re: [IronPython] How to import python folders as modules

2008-02-26 Thread John Machin
j igisbert.etra-id wrote: > > Hi Dino, Thanks for your response, but I was not refering to pyxmpp. I > am using xmpppy, http://xmpppy.sourceforge.net/ , and as long I have > read, it does not contain any C Extension Library (or perhaps yes...). > In normal Python it runs perfect, so it is no pr

Re: [IronPython] How to import python folders as modules

2008-02-26 Thread j igisbert.etra-id
:59:29 -0800 Subject: Re: [IronPython] How to import python folders as modules As long as there’s an __init__.py we should recognize it as a module. If by xmpp you’re referring to PyXMPP at http://pyxmpp.jajcus.net/ [http://pyxmpp.jajcus.net/] then it looks like it relies upon a C Ext

Re: [IronPython] How to import python folders as modules

2008-02-26 Thread Dino Viehland
ilto:[EMAIL PROTECTED] On Behalf Of Jose Ignacio Gisbert Sent: Monday, February 25, 2008 10:32 PM To: users@lists.ironpython.com Subject: [IronPython] How to import python folders as modules Hi all, IronPython Works well when you import python .py modules, but when you import python modules as folde

[IronPython] How to import python folders as modules

2008-02-25 Thread Jose Ignacio Gisbert
Hi all, IronPython Works well when you import python .py modules, but when you import python modules as folders (as xmpp), it does not recognize them. Someone knows how to do it? Thanks in advance, Best Regards, Ignacio ___ Users mailing