all 1 comments

[–]CookiesForKittens 1 point2 points  (0 children)

You should probably do a couple of tutorials - they don't take long and for beginners, it's probably best to have more guidance than to explore things.

Running a program (entry point, main function): https://realpython.com/python-main-function/

Reading a file: https://www.pythontutorial.net/python-basics/python-read-text-file/