It takes PPTX and PDF files file path and turns the data into a .txt file. The content in the .txt file can be uploaded to websites for quick note geneateration all you have to do is specifify that ":" is the seperator of the question and answer. You can also directly upload the file to anki specificying the separators.
I coded the whole project in python. It was a quick solution for a problem that a friend of mine had. The project took no more than 35 minutes and has been very effective. I plan to use it for my classes myself. Also, people can use the project and manipulate the code to generate their own content.
- To set up all you need to do is go to this website to get an API KEY (you might have to refresh when you load in):
https://aistudio.google.com/app/apikey
-
Copy that API Key into the api_key variable
-
Run:
pip install -r requirements.txt --user
-
Make sure that requirements.txt is in the same folder as code.py
-
Now all you have to do is run the python script
Enjoy! Email me at engdomdes@gmail.com with any questions.
Do you like it? Buy Me A Coffee