Hi Mikie, put the file with your class definitions (let's say class.py) in whatever directory (let's say /home/mikie/mydir) and add the path of this directory to the SAGE_PATH environment variable, you can do this for example by adding the line
export SAGE_PATH=${SAGE_PATH}:/home/mikie/mydir to the files ~/.bash_profile and ~/.bashrc in your home directory (~ = /home/mikie), then restart the shell from where you are invoking sage, and it should work, just type import class at the sage command line, btw you can do the same for your system python installation, the corresponding environment variable is then PYTHONPATH, Georg --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---