Skip to content

aruma256/VirtualTail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

from pathlib import Path


SOURCE = Path("licenses.txt")
TARGET = Path("virtualtail") / Path("view") / Path("osslicense_view.py")


with open(SOURCE, "r", encoding="utf-8") as f:
    license_text = f.read()

with open(TARGET, "r", encoding="utf-8") as f:
    code = f.read()

code = code.replace(r"{PLACEHOLDER}", license_text)

with open(TARGET, "w", encoding="utf-8") as f:
    f.write(code)

About

No description, website, or topics provided.

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages