Is it possible to have a single function that can be run with two different names and pass a new arg setting as well as all others?
I am thinking something like this:
def func1(a, b=False):
print(a)
print(b)
func2 = func1(b=True)
Where this function is being run by other code on the command line and a is a string, lets say I set it to "hello".
Output for func1
:
hello
False
Output for func2
:
hello
True