How do I import a file into Python?

0 votes
asked Aug 30, 2019 by Paolo Nader (260 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.