and shebangs and make all scripts executable

This commit is contained in:
fram3d 2023-09-27 16:47:55 +02:00
parent fb50c076fe
commit 768f1c66e6
Signed by: fram3d
GPG Key ID: 938920E709EEA32A
6 changed files with 8 additions and 5 deletions

View File

@ -1,4 +1,4 @@
#! /usr/bin/python3
#! /usr/bin/env python3
# needs lowdown and feegden installed
# feedgen can be installed with pip

1
blog.py Normal file → Executable file
View File

@ -1,3 +1,4 @@
#! /usr/bin/env python3
# just testing markdown library for now
from markdown import markdown as to_markdown

3
build_pages.py Normal file → Executable file
View File

@ -1,3 +1,4 @@
#! /usr/bin/env python3
import os
PAGES = [
@ -38,4 +39,4 @@ def main():
f.close()
if __name__ == '__main__':
main()
main()

4
image_poster.py Normal file → Executable file
View File

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
import freetype
import io
@ -86,4 +86,4 @@ img = drawPoster(events, (0, 0, 0), (20, 250, 50))
img.save('poster_dark.png')
img = drawPoster(events, (255, 255, 255), (0, 0, 0))
img.save('poster_light.png')
img.save('poster_light.png')

1
poster.py Normal file → Executable file
View File

@ -1,3 +1,4 @@
#! /usr/bin/env python3
import csv
import datetime as dt
from dateutil import relativedelta

2
prep.py Normal file → Executable file
View File

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
import csv
from datetime import datetime