How to get the names, string literals, of arguments passed to a function, within the function environment?
Pseudo-code:
def myfunc(model, arg_is_list, num):
# define magical_command that gets args NAMES
print 'Your passed args are:', magical_command_return
# use arg_is_list, use model...
Ideal solution:
$mylist={}
$mylist=[1,2,3]
$linear = some_library_model
$myfunc(model='linear', arg_is_list='mylist', num=2)
>Your passed args are: 'linear', 'mylist', '2'
Any help I can get would be much appreciated. Thanks.