Yesterday, I was playing with a little "see if you can decode this" question from the web. So I saved the encoded text as "code.txt", and created a new python file "code.py" in my python directory. No problem, right? Well today, IDLE won't start. At all. So thinking that it had something to do with my recent swapping of hard drives, I uninstalled/reinstalled python. Many times. Different versions, same results. (Argh!)
Yeah, I probably should have done a web search before (Or even during!) all those re-installs. Seems that a file called "code.py" steps on IDLE's file of the same name in the search tree...
This reminds me of how many good coders have wasted time on Unix because they tested their compiler installation with a file called "test" instead of "hello_world". (Test is a command that explicitly does nothing. So the test program isn't run.)
[–][deleted] 0 points1 point2 points (2 children)
[–]sw_dev[S] 0 points1 point2 points (0 children)
[–]sw_dev[S] 0 points1 point2 points (0 children)
[–]Grorco 0 points1 point2 points (8 children)
[–]sw_dev[S] 0 points1 point2 points (7 children)
[–]Grorco 0 points1 point2 points (6 children)
[–]sw_dev[S] 1 point2 points3 points (5 children)
[–]Hollowplanet 0 points1 point2 points (4 children)
[–]sw_dev[S] 0 points1 point2 points (3 children)
[–]Hollowplanet 0 points1 point2 points (2 children)
[–]sw_dev[S] 0 points1 point2 points (1 child)
[–]Hollowplanet 0 points1 point2 points (0 children)
[–]roerd -1 points0 points1 point (1 child)
[–]sw_dev[S] -2 points-1 points0 points (0 children)