I’ve written a python code which takes input from the user and manipulates the inputs to provide result.
I want in that to provide a help like function which appears if the user left one of the entry blank.
dir = raw_input("Enter dir:")
path = raw_input("Enter path:")
print random_method(dir, path)
Now if the user did not enter any value for dir or path, there must be a warning or a guidance to tell before python raises it’s own errors.
Thanks
Do you mean like this: