that was code that was not intended to be read. it was processed by another script. i should have fixed it before posting. and you are right about the except. but i expected it to throw syntax errors in the compile phase. i guess it compiled the raise in place of them.
this should be better:
this should be better:
#!/usr/bin/env python3 import os,sys a='~/.'+(sys.argv[0].rsplit('/',1)[1]) try: with open(os.path.expanduser(a+'-pre.py')) as f: p=[x[:-1] for x in f] except: p=""" import os from subprocess import call,DEVNULL,PIPE,Popen,run from sys import stderr,stdin,stdout,version_info from time import sleep,time as secs """.splitlines() try: with open(os.path.expanduser(a+'-suf.py')) as f: s=[x[:-1] for x in f] except: s=[] c='\n'.join(p+sys.argv[1:]+s) if len(sys.argv)>1: os.execvp('/usr/bin/env',['env','python3','-c',c])
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.