Is it possible to import the function of another code you have written into a separate code? I’m using Python.
4/20/2018 4:35:01 AM
Nathan Lewis4 Answers
New AnswerJust use “from NameOfCode import NameOfFunctionOrClass” above the rest of the code It can be imported like any normal library
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message