Hi guys,
I am trying to write a module transfering from MATLAB. In order to avoid unnecessary errors, I do some input arguments checkings before processing. The user is allowed to put in only 3 arguments, that's why the last argument is a list instead of a fixed variable. Nevertheless, user has only 2 possibilities either he gives 3 or 4 inputs.
The point is I'd like to check if there is any vector in the list (last...
User Profile
Collapse
-
How to search for vector in list of input arguments
-
UnOrThOdOx started a topic How to determine number of output arguments in Python? (nargout in MATLAB)in PythonHow to determine number of output arguments in Python? (nargout in MATLAB)
Hi guys!
I'm a total newbie in Python. I hope someone could be so kind and help me out here. I'm trying to transfer some MATLAB source codes to Python and run into a problem.
In MATLAB there is a command "nargout" which returns the number of output arguments specified in the call to the currently executing function.
I would like to use similar method for Python in order to decrease the processing time....
No activity results to display
Show More
Leave a comment: