Hello, > import re > import subprocess as sb > def bashcmd(command): > p = re.compile(r' ') > sb.call(p.split(command)) Your function needs to return the password. There is no return statement here. In python, functions return None implicitly, hence the error. Josiah