[Tutor] Calling class from another class

Alan Gauld alan.gauld at btinternet.com
Tue May 22 17:25:14 EDT 2018

On 22/05/18 11:16, aishwarya selvaraj wrote:
> I'm attaching both the files along with this email. It would be great if
> someone could help me out here. Thanks in advance 

I don't see the attachments, even though they may just be text
the server probably sees them as potentially executable and strips
them out for security reasons.

Please repost with the files included rather than attached
(or if a lot of code link to a pastebin page)

In general you should not need to have a two way import,
it suggests a problem with the design. Are you sure you need
to import both ways? Can't you simply pass an instance across
the interface in one of the directions?


Alan G
Author of the Learn to Program web site
Follow my photo-blog on Flickr at:

More information about the Tutor mailing list