Comment vérifier si l'utilisateur appuyé sur Entrée dans Python
# credit to the Stack Overflow user in source link
text = input("type in enter") # or raw_input in python2
if text == "":
print("you pressed enter")
else:
print("you typed some text before pressing enter")
wolf-like_hunter