Re: Importing class from file in package

2004-12-05 Thread Joe Raul
from second import class -- == best regards == "Florian Lindner" <[EMAIL PROTECTED]> news:[EMAIL PROTECTED] > Hello, > I've two files in my package. > In the first file I want to inport a class which is declared in the > second file. How can do that

Re: Importing class from file in package

2004-12-04 Thread Peter Hansen
Florian Lindner wrote: I've two files in my package. In the first file I want to inport a class which is declared in the second file. How can do that without stating the absolute path to the file, just the relative one? Assuming you mean by "package" that you have a folder named, say, "mypkg" and

Importing class from file in package

2004-12-04 Thread Florian Lindner
Hello, I've two files in my package. In the first file I want to inport a class which is declared in the second file. How can do that without stating the absolute path to the file, just the relative one? Thanks, Florian -- http://mail.python.org/mailman/listinfo/python-list