|
Re: Simple but fundamental: How to import a jython class?: msg#00024lang.jython.user
I wrote a jython class bus I can not use it in another jython script :-( Example: ---------------------- X.py---------------------- class X: def hello(): print "Hello" ---------------------- Y.py---------------------- import X x = X() x.hello() I get TypeError: call of non function (module 'X') Both files are in the same directory. Tanks! Aziz Hammadi -- Aziz Hammadi Lamrani email: aziz.hammadi@xxxxxxxxx url: http://user.et-cip.rub.de/hammadi/ http://jprog.blogspot.com/ N�HS^�隊X���'���u��<�ڂ�.���y�"��*m�x%jx.j���^�קvƩ�X�jب�ȧ��m�ݚ�����v&��קv�^�+����j�Z����{az����^��h���n���)��{h�����ا��+h�(m�����Z��jY�w��ǥrg
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: -classpath "c:/jython-2.1/jython.jar, Jeff Emanuel |
|---|---|
| Next by Date: | Re: Re: Simple but fundamental: How to import a jython class?, Kent Johnson |
| Previous by Thread: | Pb with Jython plug-in in eclipse, eliselavy |
| Next by Thread: | Re: Re: Simple but fundamental: How to import a jython class?, Kent Johnson |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |