I have a main python3 file as follows:

```
import additionalfunctions

userIn = input("Select Function and command line arguments: ")

```

'additionalfunctions.py' is as follows:

```
def arbitraryfunction(arg):
   print("you entered the value: " + str(arg))

```

The issue I am facing is that I need to select this function with with the 'input()' in the main python file, as well as pass the one argument to it. Does anyone know how to parse the variable 'userIn' in order to select and run a function, and pass arguments to it?

Any help you can give would be much appreciated!