Hi guys,
I've written a couple of program modules ,one main program that imports the other.
The problem is when I run the imported module it's fine but on exiting it closes my main program with it.
Both modules work ok otherwise, also I can run them individually as well.
Any suggestions would be greatly appreciated.

Thanks

Recommended Answers

All 3 Replies

I think it would be easier if you told us how you run your programs, and may be which code they contain !

Sorry Gribouillis,
I'm using python2.5 .
The GUI is wxGlade and using Eric4 for the coding.

I think it would be easier if you told us how you run your programs, and may be which code they contain !

Sorry Gribouillis,
I'm using python2.5 .
The GUI is wxGlade and using Eric4 for the coding.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.