I have a class with an __init__
function.
How can I return an integer value from this function when an object is created?
I wrote a program,where init does command line parsing and I need to have some value set. IS it OK set it in global variable and use it in other member functions ? If so how to do that? So far , i declared a variable outside class. and setting it one function doesn't reflect in other function ??