Import CSV file data into MongoDB using Python

Hello, I am saving eye-coordinates into a csv file using Python. Once the application ends, the csv file is saved to my local computer. At the same time I want to export the data (in a csv file) to mongoDB.

I am only new to this and I can’t seem to figure it out. Any help would be very appreciated and if you have any questions, ask away.

Thanks.

https://docs.mongodb.com/manual/reference/program/mongoimport/

or

By the way, its importing into the database.

Thank you very much for your help. I will try this tomorrow and I will let you know how I got on. Thanks again.