I am trying to develop a workflow to convert some txt files saved in google drive into markdown files using python. Below is the overview of what i am trying to do.
- The txt files are being uploaded to google drive.
- I was hoping I would access my google drive files on my local synced google drive folder, through python on my computer read the .txt file and convert into .md.
- But google drive seems to convert those .txt files into .docx.gdoc format. I can't read that file in python.
I tried the following
- python read write with file open.
- installed python-docx and tried to do it that way
- tried to use pdfs instead of txt files but my input system does not allow to do it.