Feb-07-2018, 02:40 PM
Hello pals;
I have been using C++ and just a newbie in python programming, however, it seem quite difficult for me to save my class in python as a module that can be reused in other programs.
In C++, all I would need to do is to save my class with any name of my choice and on the calling program; in the type the following in the header #include "name of my class" and that will be it. But in python it is very much different and I am confused about how I can even start it (but am pretty good at developing python classes).
Any reply that will be of help will be treated with gratitude. Thanks.
I have been using C++ and just a newbie in python programming, however, it seem quite difficult for me to save my class in python as a module that can be reused in other programs.
In C++, all I would need to do is to save my class with any name of my choice and on the calling program; in the type the following in the header #include "name of my class" and that will be it. But in python it is very much different and I am confused about how I can even start it (but am pretty good at developing python classes).
Any reply that will be of help will be treated with gratitude. Thanks.