Jan-05-2018, 06:27 AM
i'd like to have a script with a #! in the first line test to see if it was executed by a means that actually used the #! or if a python interpreter was explicitly run and the path to the script was passed to it in the first argument after any preceding options. python tweaks sys.argv so that the interpreter token is removed, making things consistent for the most common cases, but hindering this particular case. anyone have any ideas?
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.