I am having a class with an __init__ function.
How can I return the integer value from this function when an object is created?
I have written a program, where __init__ does command-line parsing and I need to have some value set.
Is it OK to set it in a 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 a function that doesn't reflect in other functions?