To: discussions about usage and development of dia <dia-list gnome org>
Subject: How to import other modules from my own code?
Date: Sat, 29 Jun 2013 18:56:48 -0700
I wanted to import dia_rotate.py from my own code. I wrote this as the beginning of my code:
import dia
import dia_rotate
class ModKeys: ......
dia_rotate.py is located in Home/.dia/python . The code doesn't work. If I try importing from the python console, it simply gives me an ImportError, simply can't find them. What should I do to import it?