Re: [Tutor] Calling class from another class

2018-05-24 Thread Peter Otten
aishwarya selvaraj wrote: > Dear all, > I have created 2 classes in 2 separate files.File 1 named atcore_py.pyx > with class andorCameraSDK3, and file 2 with name AndorCameraGUI making > use of TKinter. > I was able to import andorCameraSDK3 into AndorCameraGUI, but I was not > able to do the

Re: [Tutor] Calling class from another class

2018-05-23 Thread Steven D'Aprano
On Tue, May 22, 2018 at 03:46:50PM +0530, aishwarya selvaraj wrote: > Dear all, > I have created 2 classes in 2 separate files. If you have learned the bad habit from Java of putting every class in a separate file, you should unlearn that habit for your Python code. There is no need to put eve

Re: [Tutor] Calling class from another class

2018-05-22 Thread Alan Gauld via Tutor
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 st