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.

How do I import a file into Python?

+3 votes
asked Aug 30, 2019 by Paolo Nader (290 points)
I want to know how to import a file into Python if it is possible.

1 Answer

0 votes
answered Nov 7, 2019 by dheeraj (1,090 points)
first download the which one u want

paste it in the python files

import file name
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.