AI Resource Pro / full-access-films · airesourcepro.com / tools / thumbnail / wordmark.py
| 1 | import re |
| 2 | s=open('tools/thumbnail/lockup-dark.svg').read() |
| 3 | s=re.sub(r'<g>.*?</g>','',s,count=1,flags=re.S).replace('viewBox="0 0 353.08 64"','viewBox="76 12 277 40"') |
| 4 | open('tools/thumbnail/wordmark-dark.svg','w').write(s) |