Is there a pycurl equivalent to curl -u username where I can get Python to prompt for my password?
curl -u username
pycurl does not have a feature where it will prompt for a password.
However, your program can issue the request without credentials and if the response is 401 perform the password prompt using facility such as the getpass standard library module.