nxshell import self written classes

Started by joni, November 11, 2014, 04:05:19 PM

Previous topic - Next topic

joni

How can i import self-written classes from another .py file ?
when i do:
import selfclass

ImportError: No module named selfclass

ls -l
script.py
selfclass.py

joni

ok, i copy module into jar file, but one of my module write on C and when i import from file.so, i got error "No module named"
have any ideas?

Alex Kirhenshtein

nxshell use Jython, which do not support c extensions, you have to use pure-python modules.