Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

Reading a data file in the online compiler

+3 votes
asked Dec 8, 2021 by Dr. Arun Kumar (150 points)
I have a python code that uses a data file (.csv). I'm Running the .py in the online platform. How do I do that

1 Answer

0 votes
answered Dec 10, 2021 by Peter Minarik (87,340 points)
You can upload your data (.csv) file into your project and now your code will find it on the server when running.

The upload button is next to the "RUN" button.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...