Sunday, 19 January 2014

Python: input() vs raw_input()

raw_input() reads everything as a string and you have to process it yourself.

input() functions as eval(raw_input()) which can lead to vulnerabilities in injection code.

No comments:

Post a Comment