For card system users/ book of cards owners

Made this litte python script that opens book of cards every 20 minutes, so I don’t forget using the energy expansion card

You can also use it for any other pdf document, or image since I know they are also posted on instagram, and patreon has a pdf version too without the extra content from the book of cards

for images:

import os
import time

# Time to wait between opening the image (in seconds)
wait_time = 20 * 60  # 20 minutes

while True:
    # Open the image
    os.startfile(r'D:\image.png')

    # Wait for a while before repeating
    time.sleep(wait_time)

for pdf documents

import os
import time

# Time to wait between opening the PDF (in seconds)
wait_time = 20 * 60  # 20 minutes

while True:
    # Open the PDF
    os.startfile(r'D:\Downloads\BookofCards.pdf')

    # Wait for a while before repeating
    time.sleep(wait_time)

Save it as a “.py” extension and double click it to launch it, it will run till you close the app.

The file will be opened in it’s default app.

If you want you can look up on how to use windows task scheduler to launch it automatically when your pc starts.

6 Likes