3 ms·
"pwk" is both code and "executable" -- you can open it with any text editor. I didn't want to name it "pwk.py" to save on typing on the command line. --m
by neycmrtn 6y ago
"pwk" is both code and "executable" -- you can open it with any text editor. I didn't want to name it "pwk.py" to save on typing on the command line.
--m
- pvg 6y agoYou don't need to sign your messages on HN (not really obvious since it's not written anywhere but it's one of those HN things)
- alsko 6y agoWow, I feel _really_ dumb now - I just saw the filename without ".py" and assumed it was an executable Sorry, I take it back!
- OJFord 6y agoIt's sort of just pedantry because I know what you mean, but FYI it is an executable when you mark it (chmod +x) as such; what you mean to say is that you assumed it was a binary, the output of a compiler, with the input (source) not provided.