drathier / stack-overflow-import

Import arbitrary code from Stack Overflow as Python modules.
3.7k stars 128 forks source link

Add a security warning #22

Closed glyph closed 3 years ago

glyph commented 3 years ago

It may not be immediately obvious to less experienced programmers that this joke tool is also a shotgun aimed directly at their own face, and should be treated with caution.

It might actually be better to have an interactive prompt that prints out the answer and requires console confirmation of the code in question before actually running code.

drathier commented 3 years ago

No, it's perfectly safe. Find a single counter-example.