Search Results

Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: DrLight
Forum: Python Dec 2nd, 2004
Replies: 22
Views: 181,468
Posted By DrLight
raw_input accepts your input as a string. input accepts it as a command. so for example lets say you hadinput("somehthing")
and a hacker knowing some exploit in your code or system used the python...
Forum: Python Nov 12th, 2004
Replies: 22
Views: 181,468
Posted By DrLight
the correct way is var = raw_input("Enter something: ")
print "you entered ", var


using input is unsafe as it evaluates your python code as commands and can cause someone to hack your code.
Showing results 1 to 2 of 2

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC