MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/7oaay5/really/ds9p4l1
r/Python • u/fabrikated • Jan 05 '18
317 comments sorted by
View all comments
Show parent comments
4
What's stopping you from doing exec("import sys\nimport re\n\ndef someFunc(x,y):\n\t ...?
exec("import sys\nimport re\n\ndef someFunc(x,y):\n\t ...
19 u/nilsph Jan 06 '18 Self respect. 2 u/KingoPants Jan 06 '18 Sanity seems important. At that point you might as well code in mspaint for the kicks. 2 u/Raijinili Jan 06 '18 Now you can! 1 u/Printern Jan 06 '18 The fact that I am so incapable of programming that even when my program outputs the intended output it's still wrong.
19
Self respect.
2
Sanity seems important. At that point you might as well code in mspaint for the kicks.
2 u/Raijinili Jan 06 '18 Now you can!
Now you can!
1
The fact that I am so incapable of programming that even when my program outputs the intended output it's still wrong.
4
u/Raijinili Jan 06 '18
What's stopping you from doing
exec("import sys\nimport re\n\ndef someFunc(x,y):\n\t ...?